Post Reply 
Simplex Method updated to V20.13 (cas mode)
11-19-2016, 10:51 AM (This post was last modified: 11-19-2016 11:45 AM by cclinus.)
Post: #6
RE: Simplex Method updated to V19(cas mode)
Hi,

Simplex program is updated to V19. Below are the new features.
1) Mixed Integer Continuous and Binary [0,1] Solution
Example:
Max: 0.043X1+0.027X2+0.025X3+0.022X4+0.045X5
S.T. X1 + X2 + X3 + X4 + X5 <= 10
X2 + X3 + X4 >= 4
0.6X1+ 0.6X2 - 0.4X3 - 0.4X4 + 3.6X5 <= 0
4X1 + 10X2 - X3 - 2X4 - 3X5 <= 0
X1 is integer, X3 is binary, others are continuous number.
Solution = { 3 , 0 , 1 , 5.75 , 0.25 }
   

2) Target Z: You can specify a value for Z.
Z=no target value, "<=", ">=" or "=" with target value.
   

3) Mixed branch and cut method for integer solution.
May be I am not program it right, this method seems not reliable. Sometimes it can not provide the optimal solution. B&B is most reliable.

4) Allow re-edit and save data. This program use argument to save and reload data.
sim19(0): "0" zero, for clean input, no previous data.
sim19(1): always reload previous data.
sim19(2), sim19(3),sim19(4)....: save equation data into the file"2","3","4"... .
type sim19(2) to reload file"2" data.
If you want to copy previous data to "4", just type reeditbag(4):=reeditbag(1) in cas mode.

5) fix a bug

Regards,
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Simplex Method updated to V19(cas mode) - cclinus - 11-19-2016 10:51 AM



User(s) browsing this thread: 1 Guest(s)