simplex_clp.c
Go to the documentation of this file.
unsigned int SimplexNColumns(TSimplex *s) Gets the number of columns (i.e., variables) of the simplex structure. Definition: simplex_clp.c:102 void SimplexSetRowBounds(unsigned int nrow, Tinterval *i, TSimplex *s) Sets the bounds for a given row (i.e., constraint). Definition: simplex_clp.c:187 Definition of basic functions. double * GetLinearConstraintCoefficients(TLinearConstraint *lc) Gets the linear constraint coefficients. Definition: linear_constraint.c:54 boolean SimplexColEmpty(unsigned int ncol, TSimplex *s) Checks if a simplex column is empty. Definition: simplex_clp.c:159 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 double SimplexGetOptimalValueRaw(TSimplex *s) Gets the optimal value after optimizing the problem. Definition: simplex_clp.c:327 void SimplexAddNewConstraintRaw(TLinearConstraint *lc, TSimplex *s) Adds a row (i.e., a constraint) to the simplex. Definition: simplex_clp.c:259 void AddTerm2LinearConstraint(unsigned int ind, double val, TLinearConstraint *lc) Adds a scaled variable to the linear constraint. Definition: linear_constraint.c:106 Error and warning functions. void SimplexCreate(double epsilon, unsigned int ncols, TSimplex *s) Constructor. Definition: simplex_clp.c:22 Definitions of constants and macros used in several parts of the cuik library. void SimplexGetColConstraint(unsigned int ncol, TLinearConstraint *lc, TSimplex *s) Gets a column from the simplex in the form of a linear constraint. Definition: simplex_clp.c:133 void SimplexSetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Sets the bounds for a given column (i.e., variable). Definition: simplex_clp.c:113 unsigned int SimplexNRows(TSimplex *s) Gets the number of rows (i.e., constraints) of the simplex structure. Definition: simplex_clp.c:107 void SimplexGetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Gets the bounds for a given column (i.e., variable). Definition: simplex_clp.c:123 unsigned int * GetLinearConstraintVariables(TLinearConstraint *lc) Gets the linear constraint variables. Definition: linear_constraint.c:70 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. double SimplexGetRowPrimal(unsigned int nrow, TSimplex *s) Gets a row primal value after solving the simplex. Definition: simplex_clp.c:241 void SetLinearConstraintError(Tinterval *error, TLinearConstraint *lc) Sets a new righ-hand side error of the linear constraint. Definition: linear_constraint.c:96 double SimplexGetColPrimal(unsigned int ncol, TSimplex *s) Gets a column primal value after solving the simplex. Definition: simplex_clp.c:168 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_clp.c:312 void SimplexGetRowConstraint(unsigned int nrow, TLinearConstraint *lc, TSimplex *s) Gets a row constraint from the simplex. Definition: simplex_clp.c:203 double SimplexGetColDual(unsigned int ncol, TSimplex *s) Gets a column dual value after solving the simplex. Definition: simplex_clp.c:177 double SimplexGetRowDual(unsigned int nrow, TSimplex *s) Gets a row dual value after solving the simplex. Definition: simplex_clp.c:250 void SimplexGetRowBounds(unsigned int nrow, Tinterval *i, TSimplex *s) Gets the bounds for a given row (i.e., constraint). Definition: simplex_clp.c:193 void SimplexSetOptimizationFunction(TLinearConstraint *obj, TSimplex *s) Sets a new objective function. Definition: simplex_clp.c:286 |
Follow us!