Package jline.api.mapqn
Class Mapqn_bnd_qr
java.lang.Object
jline.api.mapqn.Mapqn_bnd_qr
Implementation of bnd_quadraticreduction.mod linear program.
This model uses quadratic (p2) variables for joint probabilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mapqn_solutionsolve(LinearReductionParameters params, int objectiveQueue, int objectivePhase) Create and solve the linear program for bnd_quadraticreduction model.static Mapqn_solutionsolve(LinearReductionParameters params, int objectiveQueue, int objectivePhase, String sense) As above, optimizing in the requested direction.
-
Method Details
-
solve
public static Mapqn_solution solve(LinearReductionParameters params, int objectiveQueue, int objectivePhase) Create and solve the linear program for bnd_quadraticreduction model. -
solve
public static Mapqn_solution solve(LinearReductionParameters params, int objectiveQueue, int objectivePhase, String sense) As above, optimizing in the requested direction. The LP is a relaxation containing the exact solution, so "max" is a valid upper bound on the utilization and "min" the matching lower bound.- Parameters:
sense- "min" or "max"
-