Search code examples
juliajulia-jump

extracting right hand side vector from JuMP model


Is there a way to extract the right hand side vector from a JuMP model similar to the one used to extract the coefficients matrix (getconstrmatrix())? if there is no way to do so, how could i extract said information?


Solution

  • getconstrLB() and getconstrUB() return the upper and lower bounds on the constraints, with equal values when the constraints are equalities. They take the same argument as getconstmatrix().

    The documentation Google found is here