Initializing help system before first use

Inequality

  • java.lang.Object
    • com.dashoptimization.objects.Inequality
  • All Implemented Interfaces:
    Index, java.lang.Comparable<Inequality>

    public final class Inequality
    extends java.lang.Object
    implements Index, java.lang.Comparable<Inequality>
    A reference to an equation, inequality, or ranged row.
    Since:
    43.00
    • Nested Class Summary

      Modifier and Type Class Description
      static class  Inequality.Definition
      Class representing a <=, >=, ==, or ranged constraint.
    • Method Summary

      Modifier and Type Method Description
      Inequality chgCoef​(Variable v, double newCoef)
      Change the coefficient for a variable in this row.
      Inequality chgCoefs​(Variable[] v, double[] newCoef)
      Change the coefficients for multiple variables in this row.
      int compareTo​(Inequality other)
      boolean equals​(java.lang.Object other)
      double getCallbackDual()
      Get the dual value value for this row from the solution associated with the current callback.
      double getCallbackSlack()
      Get the slack value for this row from the solution associated with the current callback.
      double getDual()
      Get the current dual value value for this row.
      int getIndex()
      Get the index that this object has in the underlying model.
      int getIndexForProb​(XpressProblem xprob)
      Get the index stored in this object but raise an exception if the problem that created this object is not prob.
      Expression getLhs()
      Get the left-hand side of this inequality.
      java.lang.String getName()
      Get the name of this object.
      XpressProblem getProblem()
      Get the problem to which this element belongs.
      double getRhs()
      Get the right-hand side for this row.
      double getRhsRange()
      Get the right-hand side range for this row.
      double getSlack()
      Get the current slack value for this row.
      RowType getType()
      Get the type for this row.
      double getValue​(double[] data)
      Get the value of this row from an array.
      int hashCode()  
      Inequality setName​(java.lang.String newName)
      Set the name of this inequality.
      Inequality setRhs​(double newRhs)
      Set the right-hand side for this row.
      Inequality setRhsRange​(double newRange)
      Set the right-hand side range for this row.
      Inequality setType​(RowType newType)
      Set the type for this row.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.