Step 4: Define constants
You can create constants in your optimization model by stating a name and integer value.
Use constants as part of constraints to enforce limitations on other decision variables (the “Big M method”).
Use a constant of -1 to make the Optimization Engine subtract an expression from another, instead of adding it as the Optimization Engine does by default when combining two mathematical expressions.
Here’s how to define constants in the Optimization Engine UI:
Go to the section Constants on the Optimization Engine page.
Click Add constants to add a new constant.
Enter a name and value for the constant.
You can edit a constant by clicking the pen icon next to its name, or delete it by clicking the trash icon.
Next step: Step 5: Define decision variables