NB Any '<' or '>' signs
(if present) provoke inevitable HTML validation errors
(irrelevant to CPLEX).
→ clean version…
For MILP problems (at least
one integer variable), go to
Using CPLEX: MIP.
Solves a Linear Programming (LP)
problem using the IBM ILOG CPLEX software. The CPLEX API is used
with a Fortran 90 calling program.
The data structure must be the '.lp' CPLEX type.
The base problem is the "lp_diet" problem (below).
Suggested problems:
juice, lp_juice.lp
(z* = 403.125);
diet, lp_diet.lp
(z* = 14.856);
HPW prb_19, lp_hpw19.lp
(z* = 198.5);
diet, lp_SAS_diet.lp
(z* = 12.081)
NB In the results, add 1 to 'ncol'
(C language count), i.e., 'variables' = 'ncol' + 1.
Acknowledgements We thank the diligent endeavour
of engineer Jorge Soares and Duarte Caldas
(IBM). |