Class Mapqn_bnd_lr

java.lang.Object
jline.api.mapqn.Mapqn_bnd_lr

public final class Mapqn_bnd_lr extends Object
Implementation of bnd_linearreduction_new.mod linear program.
  • Method Details

    • solve

      public static Mapqn_solution solve(LinearReductionParameters params, int objectiveQueue, int objectivePhase)
      Create and solve the linear program for bnd_linearreduction_new model.
      Parameters:
      params - Model parameters
      objectiveQueue - Queue index to maximize utilization (1-based)
      objectivePhase - Phase index to maximize utilization (1-based)
      Returns:
      Solution containing the optimal value and variable values
    • 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; reporting only one of the two leaves the interval half open.
      Parameters:
      sense - "min" or "max"