VoseOptConstraintString

See also: VoseOptConstraintBetween, VoseOptConstraintEquals, VoseOptConstraintMax, VoseOptConstraintMin

VoseOptConstraintString (Name, String, Enabled )

 

 

Example model
 

This function is used to define linear string decision constraints.

Name - Constraint Name

String – The linear constraint string that can contain Decision variable names

Enabled - Set to TRUE if Constraint is Enabled

Linear constraints describe a linear relationship among decision variables. A linear constraint is a mathematical expression where linear terms (i.e., a coefficient multiplied by a decision variable) are added or subtracted and the resulting expression is forced to be greater-than-or-equal, less-than-or-equal, or exactly equal to a right-hand side value.

The following are examples of linear constraints on the decision variables:

Var1 + Var2 + Var3 + Var4 + Var5  = 10500

0 <= Var1 + 2*Var2 – Var3 <= 5000

Var1 - 3*Var5 >= 300

Var1 >= 6 or Var2 >= 6 or Var1+Var2 = 4

For more information about this function refer to the topic on Optimization Decision Constraints.

 

ModelRisk

Monte Carlo simulation in Excel. Learn more

Tamara

Adding risk and uncertainty to your project schedule. Learn more

Navigation

FREE MONTE CARLO SIMULATION SOFTWARE

For Microsoft Excel

Download your free copy of ModelRisk Basic today. Professional quality risk modeling software and no catches

Download ModelRisk Basic now

FREE PROJECT RISK SOFTWARE

For Primavera & Microsoft Project

Download your free copy of Tamara Basic today. Professional quality project risk software and no catches.

Download Tamara Basic now
-->