simplex_lpsolve.c
Go to the documentation of this file.
double SimplexGetColPrimal(unsigned int ncol, TSimplex *s) Gets a column primal value after solving the simplex. Definition: simplex_lpsolve.c:166 void SimplexSetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Sets the bounds for a given column (i.e., variable). Definition: simplex_lpsolve.c:83 void SimplexAddNewConstraintRaw(TLinearConstraint *lc, TSimplex *s) Adds a row (i.e., a constraint) to the simplex. Definition: simplex_lpsolve.c:307 void SimplexSetRowBounds(unsigned int nrow, Tinterval *i, TSimplex *s) Sets the bounds for a given row (i.e., constraint). Definition: simplex_lpsolve.c:177 Definition of basic functions. double * GetLinearConstraintCoefficients(TLinearConstraint *lc) Gets the linear constraint coefficients. Definition: linear_constraint.c:54 void SimplexGetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Gets the bounds for a given column (i.e., variable). Definition: simplex_lpsolve.c:103 unsigned int GetLinearConstraintVariable(unsigned int i, TLinearConstraint *lc) Gets the a particular variable index. Definition: linear_constraint.c:75 void PrintLinearConstraint(FILE *f, boolean eq, char **varName, TLinearConstraint *lc) Prints a linear constraint. Definition: linear_constraint.c:548 unsigned int SimplexNColumns(TSimplex *s) Gets the number of columns (i.e., variables) of the simplex structure. Definition: simplex_lpsolve.c:72 void AddTerm2LinearConstraint(unsigned int ind, double val, TLinearConstraint *lc) Adds a scaled variable to the linear constraint. Definition: linear_constraint.c:106 unsigned int SimplexNRows(TSimplex *s) Gets the number of rows (i.e., constraints) of the simplex structure. Definition: simplex_lpsolve.c:77 double SimplexGetOptimalValueRaw(TSimplex *s) Gets the optimal value after optimizing the problem. Definition: simplex_lpsolve.c:394 Error and warning functions. double SimplexGetRowDual(unsigned int nrow, TSimplex *s) Gets a row dual value after solving the simplex. Definition: simplex_lpsolve.c:302 void SimplexGetColConstraint(unsigned int ncol, TLinearConstraint *lc, TSimplex *s) Gets a column from the simplex in the form of a linear constraint. Definition: simplex_lpsolve.c:121 void SimplexGetRowBounds(unsigned int nrow, Tinterval *i, TSimplex *s) Gets the bounds for a given row (i.e., constraint). Definition: simplex_lpsolve.c:229 Definitions of constants and macros used in several parts of the cuik library. void SimplexGetRowConstraint(unsigned int nrow, TLinearConstraint *lc, TSimplex *s) Gets a row constraint from the simplex. Definition: simplex_lpsolve.c:269 void SimplexCreate(double epsilon, unsigned int ncols, TSimplex *s) Constructor. Definition: simplex_lpsolve.c:23 double SimplexGetColDual(unsigned int ncol, TSimplex *s) Gets a column dual value after solving the simplex. Definition: simplex_lpsolve.c:171 double SimplexGetRowPrimal(unsigned int nrow, TSimplex *s) Gets a row primal value after solving the simplex. Definition: simplex_lpsolve.c:297 unsigned int GetNumTermsInLinearConstraint(TLinearConstraint *lc) Number of variables in a linear constraint. Definition: linear_constraint.c:49 void GetLinearConstraintError(Tinterval *error, TLinearConstraint *lc) Gets the right-hand side interval for the linear constraint. Definition: linear_constraint.c:86 Definition of the TSimplex type and the associated functions. void SetLinearConstraintError(Tinterval *error, TLinearConstraint *lc) Sets a new righ-hand side error of the linear constraint. Definition: linear_constraint.c:96 boolean SimplexColEmpty(unsigned int ncol, TSimplex *s) Checks if a simplex column is empty. Definition: simplex_lpsolve.c:146 double GetLinearConstraintCoefficient(unsigned int i, TLinearConstraint *lc) Gets the a particular linear constraint coefficient. Definition: linear_constraint.c:59 void SimplexGetOptimizationFunction(TLinearConstraint *obj, TSimplex *s) Gets a current objective function. Definition: simplex_lpsolve.c:374 unsigned int SimplexSolve(TSimplex *s) Determines an optimal value. Definition: simplex_lpsolve.c:399 void SimplexSetOptimizationFunction(TLinearConstraint *obj, TSimplex *s) Sets a new objective function. Definition: simplex_lpsolve.c:340 |
Follow us!