Initializing help system before first use

LinCoef

  • java.lang.Object
    • com.dashoptimization.objects.LinCoef

  • public final class LinCoef
    extends java.lang.Object
    A linear coefficient. A linear coefficient is a variable/value pair that gives the factor for a variable in a linear expression.
    Since:
    43.00
    • Constructor Summary

      Constructor Description
      LinCoef()
      Create a new coefficient initialized to defaults.
      LinCoef​(LinCoef other)
      Create a new coefficient by copying another.
      LinCoef​(Variable variable, double coefficient)
      Create a new coefficient.
    • Method Summary

      Modifier and Type Method Description
      double getCoefficient()  
      Variable getVariable()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinCoef

        public LinCoef​(Variable variable,
                       double coefficient)
        Create a new coefficient.
        Parameters:
        variable - Variable in the new coefficient.
        coefficient - Value multiplying the variable in the new coefficient.
        Since:
        43.00
      • LinCoef

        public LinCoef​(LinCoef other)
        Create a new coefficient by copying another.
        Parameters:
        other - The coefficient to copy.
        Since:
        43.00
      • LinCoef

        public LinCoef()
        Create a new coefficient initialized to defaults. The new coefficient will reference XpressProblem.NULL_VARIABLE and will have a coefficient of zero.
        Since:
        44.00
    • Method Detail

      • getVariable

        public Variable getVariable()
      • getCoefficient

        public double getCoefficient()

© 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.