Model Properties

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image

The Model type exposes the following members.

Properties

  NameDescription
Public propertyAreAllConstraintsLinear
Have all constraints in this model instance linear expressions?
Public propertyAreAllObjectivesLinear
Have all objectives in this model instance linear expressions?
Public propertyAreAllVariablesBinary
Are all variables in this model instance of type integer and their lower bound equal to zero and their upper bound equal to 1?
Public propertyAreAllVariablesContinuous
Are variables in this model instance of type continuous?
Public propertyAreAllVariablesInteger
Are all variables in this model instance of type integer?
Public propertyConstraints
Constraints in this model instance.
Public propertyConstraintsCount
Count of constraints in this model instance.
Public propertyModelBehavior
Gets or sets the behavior of the model. Available options are "Automatic" and "Manual" In automatic mode, the model takes care of adding and removing variables when constraints and objectives get added. In manual mode you need to take care of this yourself.
Public propertyName
Name of this model instance.
Public propertyObjectives
Objectives in this model instance.
Public propertyObjectivesCount
Count of objectives in this model instance.
Public propertySOS1Sets
Sets of SOS1 variables in this model instance.
Public propertySOS2Sets
Sets of SOS2 variables in this model instance.
Public propertySOS3Sets
Sets of SOS3 variables in this model instance.
Public propertyVariables
Variables in this model instance.
Public propertyVariablesCount
Count of variables in this model instance.

See Also