The members of the fundamental HiGHS enums are defined below. If Enum
refers
to a particular enum, and Member
to a particular member, the members are
available as follows.
highspy.Enum.Member
Enum::Member
Members for internal use only are not documented.
This is (part of) the return value of most HiGHS methods:
kError
: The method has exposed an errorkOk
: The method has completed successfullykWarning
: The method has recovered from an unusual event, or has terminated
due to reaching a time or iteration limitThis defines the format of a HighsSparseMatrix:
kColwise
: The matrix is stored column-wisekRowwise
: The matrix is stored row-wiseThis defines optimization sense of a HighsLp:
kMinimize
: The objective is to be minimizedkMaximize
: The objective is to be maximizedThis defines the feasible values of a variable within a model:
kContinuous
: The variable can take continuous values between its boundskInteger
: The variable must take integer values between its boundskSemiContinuous
: The variable must be zero or take continuous values between its boundskSemiInteger
: The variable must be zero or take integer values between its boundsThis defines the format of a HighsHessian:
kTriangular
: The lower triangular component of the Hessian is stored column-wise or, equivalently, the upper triangular component is stored row-wise kSquare
: The whole Hessian Q
is stored column-wise. This is for input only: internally the lower triangular component of (Q+Q^T)/2
will be storedThis defines the nature of any primal or dual solution information:
kSolutionStatusNone
: There is no solution informationkSolutionStatusInfeasible
: The solution is not feasiblekSolutionStatusFeasible
: The solution is feasibleThis defines the nature of any basis information:
kBasisValidityInvalid
: There is no basisn informationkBasisValidityValid
: The basis information is validThis defines the status of the model after a call to run
kNotset
: The model status has not been setkModelError
: There is an error in the modelkSolveError
: There has been an error when solving the modelkModelEmpty
: The model is emptykOptimal
: The model has been solved to optimalitykInfeasible
: The model is infeasiblekUnboundedOrInfeasible
: The model is unbounded or infeasiblekUnbounded
: The model is unboundedkObjectiveBound
: The bound on the model objective value has been reachedkObjectiveTarget
: The target value for the model objective has been reachedkTimeLimit
: The run time limit has been reachedkIterationLimit
: The iteration limit has been reachedkSolutionLimit
: The MIP solver has reached the limit on the number of LPs solvedkInterrupt
: The solver has been interrupted by the userkMemoryLimit
: The solver has been unable to allocate sufficient memorykUnknown
: The model status is unknownThis defines the status of a variable (or slack variable for a constraint) in a basis:
kLower
: The variable is nonbasic at its lower bound (or fixed value)kBasic
: The variable is basickUpper
: The variable is at its upper boundkZero
: A free variable is nonbasic and set to zerokNonbasic
: The variable is nonbasicThis defines the types of option values that control HiGHS:
kBool
: The option type is booleankInt
: The option type is integerkDouble
: The option type is doublekString
: The option type is stringThis defines the types of (scalar) information available after a call to run
:
kInt64
: The information type is 64-bit integerkInt
: The information type is integerkDouble
: The information type is doubleAny scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.