[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

D.15.1 lpsolve calling conventions

The library is able to solve linear and mixed integer programming problems, depending on which function is selected. The function to call the linear programming solver is of the form

and the mixed integer programming functions are of the form

The argument to the stdform function represents a triple (c,(m,y)), which has the same interpretation described in glpk input parameters. The arguments to the iform, bform, and biform functions are tuples (i,(c,(m,y))) (b,(c,(m,y))), and ((b,i),(c,(m,y))), respectively, where c, m, and y are as above, and

where column indices pertain to the constraint matrix, and are numbered from zero. Specifying some or all variables as integers directs the solver to seek only solutions in which those variables have integer values, and specifying any as binary directs the solver to seek only solutions in which those variables have values of zero or one. The IEEE floating point representation is used for all variables regardless (math).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on December 10, 2012 using texi2html 1.82.