Class Mapqn_solution

java.lang.Object
jline.api.mapqn.Mapqn_solution

public class Mapqn_solution extends Object
Solution returned by Mapqn LP solvers.
  • Constructor Details

    • Mapqn_solution

      public Mapqn_solution(double objectiveValue, Map<String,Double> variables)
  • Method Details

    • getObjectiveValue

      public double getObjectiveValue()
    • getVariables

      public Map<String,Double> getVariables()
    • getVariable

      public double getVariable(String name)
    • getUtilization

      public double getUtilization(int i, int k)
      Get utilization for queue i, phase k (1-based indices). Reads the U_i_k variable populated by the linear-reduction (LR) bound model, with an e_i_k fallback for solvers that use that naming convention.
    • getQueueLength

      public double getQueueLength(int i, int k)
      Get queue length for queue i, phase k (1-based indices). Reads the Q_i_k variable populated by the LR bound model.
    • getUtilizationMVA

      public double getUtilizationMVA(int i, int k)
      Get utilization from the MVA-version model, which uses the UN_i_k naming convention (see Mapqn_bnd_lr_mva).
    • getQueueLengthMVA

      public double getQueueLengthMVA(int i, int k)