simplex.h
Go to the documentation of this file.
461 unsigned int ReduceRange(double epsilon,unsigned int safeSimplex,unsigned int nv,Tbox *b,TSimplex *lp);
unsigned int SimplexNRows(TSimplex *s) Gets the number of rows (i.e., constraints) of the simplex structure. Definition: simplex_clp.c:107 boolean SimplexAddNewConstraint(double epsilon, unsigned int safeSimplex, TLinearConstraint *lc, unsigned int eq_type, Tinterval *is, TSimplex *s) Adds a row (i.e., a constraint) to the simplex. Definition: simplex.c:67 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 Definition of the Tequation type and the associated functions. void SetSimplexBounds(Tbox *b, TSimplex *lp) Sets the columns bounds for the simplex. Definition: simplex.c:40 double SimplexGetRowPrimal(unsigned int nrow, TSimplex *s) Gets a row primal value after solving the simplex. Definition: simplex_clp.c:241 void SimplexSetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Sets the bounds for a given column (i.e., variable). Definition: simplex_clp.c:113 void SimplexGetRowConstraint(unsigned int nrow, TLinearConstraint *lc, TSimplex *s) Gets a row constraint from the simplex. Definition: simplex_clp.c:203 void SimplexExpandBounds(unsigned int eq_type, Tinterval *b) Expands an interval according to the equation type. Definition: simplex.c:19 void SimplexCreate(double epsilon, unsigned int ncols, TSimplex *s) Constructor. Definition: simplex_clp.c:22 double SimplexGetRowDual(unsigned int nrow, TSimplex *s) Gets a row dual value after solving the simplex. Definition: simplex_clp.c:250 unsigned int ReduceRange(double epsilon, unsigned int safeSimplex, unsigned int nv, Tbox *b, TSimplex *lp) Reduces a variable range using the simplex. Definition: simplex.c:329 Definition of the Tbox type and the associated functions. double SimplexGetColDual(unsigned int ncol, TSimplex *s) Gets a column dual value after solving the simplex. Definition: simplex_clp.c:177 unsigned int SimplexNColumns(TSimplex *s) Gets the number of columns (i.e., variables) of the simplex structure. Definition: simplex_clp.c:102 double SimplexGetColPrimal(unsigned int ncol, TSimplex *s) Gets a column primal value after solving the simplex. Definition: simplex_clp.c:168 void SimplexAddNewConstraintRaw(TLinearConstraint *lc, TSimplex *s) Adds a row (i.e., a constraint) to the simplex. Definition: simplex_clp.c:259 double SimplexGetOptimalValueRaw(TSimplex *s) Gets the optimal value after optimizing the problem. Definition: simplex_clp.c:327 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 SimplexSetRowBounds(unsigned int nrow, Tinterval *i, TSimplex *s) Sets the bounds for a given row (i.e., constraint). Definition: simplex_clp.c:187 void SimplexSetOptimizationFunction(TLinearConstraint *obj, TSimplex *s) Sets a new objective function. Definition: simplex_clp.c:286 void SimplexGetColBounds(unsigned int ncol, Tinterval *i, TSimplex *s) Gets the bounds for a given column (i.e., variable). Definition: simplex_clp.c:123 boolean SimplexColEmpty(unsigned int ncol, TSimplex *s) Checks if a simplex column is empty. Definition: simplex_clp.c:159 double SimplexGetOptimalValue(unsigned int safeSimplex, double m, Tbox *b, TSimplex *s) Returns the optimal value determined by the simplex corrected to compensate for possible rounding eff... Definition: simplex.c:215 void SimplexGetOptimizationFunction(TLinearConstraint *obj, TSimplex *s) Gets a current objective function. Definition: simplex_clp.c:312 Definition of the TLinearConstraint type and the associated functions. Definition of the Tinterval type and the associated functions. |
Follow us!