Constraints

Constraints are optional settings in an optimization model. They restrict the decision variables by defining relationships among them. For example, if the total amount of money invested in two mutual funds must be $50,000, you can define this as:

mutual fund #1 + mutual fund #2 = 50000

OptQuest only considers combinations of values for the two mutual funds whose sum is $50,000.

Or if your budget restricts your spending on gasoline and fleet service to $2,500, you can define this as:

gasoline + service <= 2500

In this case, OptQuest considers only combinations of values for gasoline and service at or less than $2,500.

Not all optimization models need constraints.