Package jline.api.mapqn
Class Mapqn_bnd_qr_delay
java.lang.Object
jline.api.mapqn.Mapqn_bnd_qr_delay
Implementation of bnd_quadraticreduction_delay.mod linear program.
This model includes delay constraints and load-dependent service rates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters for the quadratic reduction delay model. -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetMarginalP2(Mapqn_solution sol, int j, int nj, int k) static doublegetP2(Mapqn_solution sol, int j, int nj, int k, int i, int ni, int h) Convenience accessor (extension-function equivalent).static Mapqn_solutionsolve(Mapqn_bnd_qr_delay.QuadraticDelayParameters params, int objectiveQueue, int objectivePhase, int objectiveN) static Mapqn_solutionsolve(Mapqn_bnd_qr_delay.QuadraticDelayParameters params, int objectiveQueue, int objectivePhase, int objectiveN, String sense) As above, optimizing in the requested direction.
-
Method Details
-
solve
public static Mapqn_solution solve(Mapqn_bnd_qr_delay.QuadraticDelayParameters params, int objectiveQueue, int objectivePhase, int objectiveN) -
solve
public static Mapqn_solution solve(Mapqn_bnd_qr_delay.QuadraticDelayParameters params, int objectiveQueue, int objectivePhase, int objectiveN, 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 marginal probability and "min" the matching lower bound.- Parameters:
sense- "min" or "max"
-
getP2
Convenience accessor (extension-function equivalent). -
getMarginalP2
-