Simplex method in prime how to use the constrains maximise s.t. constraints.
|
11-11-2023, 04:03 PM
Post: #47
|
|||
|
|||
RE: Simplex method in prime how to use the constrains maximise s.t. constraints.
(11-11-2023 12:39 PM)Albert Chan Wrote: > m2 := transpose(col(m,3 .. 0)) I mistakenly use DELCOL instead of delcols, CONCAT instead of extend ... Still, even with float, getting all 0's for variables are weird. Now, we get the right output: \(\displaystyle [ \frac{-130}{7},[\frac{25}{7},\frac{15}{7},0],\left(\begin{array}{cccc} 0 & 1 & \frac{1}{7} & \frac{15}{7} \\ 1 & 0 & \frac{11}{7} & \frac{25}{7} \\ 0 & 0 & \frac{25}{7} & \frac{130}{7} \end{array}\right)]\) Latest update: Code: simplex_le(a, dir) := |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)