Post Reply 
Simplex method in prime how to use the constrains maximise s.t. constraints.
11-08-2023, 08:26 PM
Post: #26
RE: Simplex method in prime how to use the constrains maximise s.t. constraints.
(11-03-2023 03:34 PM)jte Wrote:  The HP Prime doesn't currently have a built-in app for handling constrained optimization.

I just discovered XCas can! Perhaps it can add this to HP Prime Cas as well.

solver.cc Wrote:// COBYLA will try to make all the values of the constraints positive.

OP example, with guess in the feasible region.

XCas> fMin(6x+5y, [x, y, 2x+4y-22, 3x+2y-20, 4x+5y-40], [x,y], [99,99])

[2.85714285714, 5.71428571429]

XCas> [6,5] * ans()

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


Messages In This Thread
RE: Simplex method in prime how to use the constrains maximise s.t. constraints. - Albert Chan - 11-08-2023 08:26 PM



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