MtxVec VCL
|
Linear optimization by Two-Phase Simplex algorithm.
Solves the following optimization problem:
where rel holds the relation signs. For example, relation string ' < = > ' means the constraints system consists of one inequality ' <= ', one equality ' = ' and one more inequality ' >= '.
Optionally, you can also assign TOptControl object to the Verbose parameter. This allows the optimization procedure to be interrupted from another thread and optionally also allows logging and iteration count monitoring.
Solve the following LP problem:
f(x) = x1+x2+2*x3-2*x4
subject to:
x1+2x <= 700
2x2-8x4 <= 0
x2-2x3+x4 > 1
x1+x2+x3+x4 = 1
which translates to using two-phase simplex method:
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|