Difference between revisions of "User:Zhan"

From Speedclear Wiki
Jump to navigation Jump to search
Line 19: Line 19:
 
Now, let ''g'' be a finite number ''n<sub>i</sub>'' of composition of functions ''f<sub>i</sub>'', (''i'' in {1,...,4}). We consider ''g'' to be solution if it is the minimal number of composition which gives the minimum possible difference of gemstones. This gives the following minimization problem:
 
Now, let ''g'' be a finite number ''n<sub>i</sub>'' of composition of functions ''f<sub>i</sub>'', (''i'' in {1,...,4}). We consider ''g'' to be solution if it is the minimal number of composition which gives the minimum possible difference of gemstones. This gives the following minimization problem:
  
argmin<sub>''g''</sub> (max<sub>(i, j)</sub> |g<sub>i</sub>(y) - g<sub>j</sub>(y)|) such that ''||n||<sub>1</sub>'' is minimal.
+
argmin<sub>''g''</sub> (max<sub>(i, j)</sub> |g<sub>i</sub>(y) - g<sub>j</sub>(y)| + ''||n||<sub>1</sub>'')
  
 
==Contact==
 
==Contact==

Revision as of 17:08, 8 June 2021

DoA

What are the next starts i should choose to reduce gemstones type difference, the discrete optimization point of view.

Let us consider the gemstones as a vector y = (y1, y2, y3, y4) in N4, where the components respectively respresent the number of margonite gemstones, stygian gemstones, torment gemstones, titan gemstones.

Then, we consider successful runs by the following functions going from N4 to N4:

f1(x) = x + k(1, 2, 3, 4)

f2(x) = x + k(4, 1, 2, 3)

f3(x) = x + k(3, 4, 1, 2)

f4(x) = x + k(2, 3, 4, 1)

Where k = 2 in Hard Mode (HM), and where the functions respectively represent start city, start veil, start gloom, start foundry.


Now, let g be a finite number ni of composition of functions fi, (i in {1,...,4}). We consider g to be solution if it is the minimal number of composition which gives the minimum possible difference of gemstones. This gives the following minimization problem:

argming (max(i, j) |gi(y) - gj(y)| + ||n||1)

Contact

You may contact me:

In game character name Kunvie Zhan