You are here: Symbol Reference > Optimization Namespace > Functions > Optimization.SimplexLP Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Optimization.SimplexLP Function

Linear optimization by using Simplex method.

Pascal
function SimplexLP(const A: TMtx; const b: TVec; const c: TVec; const AFinal: TMtx; const X: TVec; const Indexes: TVecInt; out SolutionType: TLPSolution; Minimize: boolean = true; const Verbose: TStrings = nil): double;

Solves the following optimization problem: 

 

where vector b must be a positive vector. 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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!