MathModelWithAdditionalConstraint Method
Creates a new mathematical model from this model by adding the given constraint.
Namespace: Orx.MathProgAssembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
public MathModel WithAdditionalConstraint(
Constraint constraint,
string newName = "",
string newDefinition = ""
)
- constraint Constraint
- The constraint to be added to the new mathematical model.
- newName String (Optional)
- Name of the new mathematical model; name of this model will be used when omitted.
- newDefinition String (Optional)
- Definition of the new mathematical model; definition of this model will be used when omitted.
MathModel