MathModelWithAdditionalConstraint Method

Creates a new mathematical model from this model by adding the given constraint.

Definition

Namespace: Orx.MathProg
Assembly: Orx.MathProg (in Orx.MathProg.dll) Version: 1.0.0
C#
public MathModel WithAdditionalConstraint(
	Constraint constraint,
	string newName = "",
	string newDefinition = ""
)

Parameters

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.

Return Value

MathModel

See Also