Initializing help system before first use

XPRMValue

  • java.lang.Object
    • com.dashoptimization.XPRMValue
    • Constructor Detail

      • XPRMValue

        public XPRMValue()
    • Method Detail

      • asInteger

        public int asInteger()
        An integer. This function is defined if the actual object is an integer.
        Returns:
        The integer value
      • asReal

        public double asReal()
        A real. This function is defined if the actual object is a real.
        Returns:
        The real value
      • asBoolean

        public boolean asBoolean()
        A Boolean. This function is defined if the actual object is a Boolean.
        Returns:
        The Boolean value
      • asString

        public java.lang.String asString()
        A string. This function is defined if the actual object is a string.
        Returns:
        The string value
      • asMPVar

        public XPRMMPVar asMPVar()
        A decision variable. This function is defined if the actual object is a decision variable.
        Returns:
        The decision variable as a XPRMMPVar
      • asLinCtr

        public XPRMLinCtr asLinCtr()
        A linear constraint. This function is defined if the actual object is a linear constraint.
        Returns:
        The linear constraint as a XPRMLinCtr
      • asExternal

        public XPRMExternal asExternal()
        An external type value. This function is defined if the actual object is of an external type.
        Returns:
        The reference as a XPRMExternal
      • asSet

        public XPRMSet asSet()
        A set. This function is defined if the actual object is a set.
        Returns:
        The set as a XPRMSet
      • asList

        public XPRMList asList()
        A list. This function is defined if the actual object is a list.
        Returns:
        The list as a XPRMList
      • asArray

        public XPRMArray asArray()
        An array. This function is defined if the actual object is an array.
        Returns:
        The list as a XPRMArray
      • asRecord

        public XPRMRecord asRecord()
        A record. This function is defined if the actual object is a record.
        Returns:
        The record as a XPRMRecord
      • asProblem

        public XPRMProblem asProblem()
        A problem. This function is defined if the actual object is a problem.
        Returns:
        The problem as a XPRMProblem

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