Class LinearConstraint

java.lang.Object
dev.yushen.wrapperapi.gurobi.constraint.LinearConstraint
All Implemented Interfaces:
Constraint

public class LinearConstraint
extends java.lang.Object
implements Constraint
  • Constructor Details

  • Method Details

    • getLhs

      public LinearExpression getLhs()
      Specified by:
      getLhs in interface Constraint
    • setLhs

      public void setLhs​(LinearExpression lhs)
    • getRhs

      public LinearExpression getRhs()
      Specified by:
      getRhs in interface Constraint
    • setRhs

      public void setRhs​(LinearExpression rhs)
    • getOperator

      public char getOperator()
      Specified by:
      getOperator in interface Constraint
    • setOperator

      public void setOperator​(char operator)
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface Constraint
    • setName

      public void setName​(java.lang.String name)
    • getConstr

      public gurobi.GRBConstr getConstr()
    • setConstr

      public void setConstr​(gurobi.GRBConstr constr)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object