chickadee » glpk » lpx:make-problem

lpx:make-problem:procedure

This procedure creates a new problem with the specified parameters.

  • Argument DIR specifies the optimization direction flag. It can be one of 'maximize or 'minimize.
  • Argument PBOUNDS is a list that specifies the type and bounds for each row of the problem object. Each element of this list can take one of the following forms:
'(unbounded)Free (unbounded) variable, -Inf <= x <= +Inf
'(lower-bound LB)Variable with lower bound, LB <= x <= +Inf
'(upper-bound UB)Variable with upper bound, -Inf <= x <= UB
'(double-bounded LB UB)Double-bounded variable, LB <= x <= UB
'(fixed LB UB)Fixed variable, LB = x = UB
  • Argument XBOUNDS is a list that specifies the type and bounds for each column (structural variable) of the problem object. Each element of this list can take one of the forms described for parameter PBOUNDS.
  • Argument OBJCOEFS is a list that specifies the objective coefficients for each column (structural variable). This list must be of the same length as XBOUNDS.
  • Argument OBJCOEFS is a list that specifies the objective coefficients for each column (structural variable).
  • Argument CONSTRAINTS is an SRFI-4 f64vector that represents the problem's constraint matrix (in row-major or column-major order).
  • Optional argument ORDER specifies the element order of the constraints matrix. It can be one of 'row-major or 'column-major.