You are here: Symbol Reference > MtxVecTools Namespace > Classes > TMtxLP Class
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxLP Class

Interfaces Linear Programming algorithms.

MtxVecTools_TMtxLPMtxVecTools_TMtxLP
Pascal
TMtxLP = class(TMtxComponent);

The component can be used to solve several linear programming problems. 

 

How to use TMtxLP component? 

  • Drop a TMtxLP component on the form.
  • Set the Minimize property to minimize or maximize objective function f(x).
  • By setting Algorithm select which algorithm will be used to solve LP problem.
  • Define A, b, c and optionaly Relations , keeping in mind correct size of matrix, vectors and string.
  • Call the Recalculate method to solve LP problem.

 

The results of solving LP are returned as:

  • Final tableaux AFinal,
  • Legitimate variables, stored in vector x,
  • Indexes of legitimate variables, stored in vector Indexes IValues,
  • Solution type, stored in SolutionType,
  • Objective function z, evaluated at minimum or maximum.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!