Variable |
Usage |
Quadratic Model |
Nonlinear Model |
|---|---|---|---|
Binary. \(v_i \in\{-1,+1\} \text{ or } \{0,1\}\). |
Typically used for applications that optimize over decisions that could either be true (or yes) or false (no); for example,
|
||
Discrete. For example, a variable that can be assigned one of the values of
the set |
Typically used for applications that optimize over several distinct options; for example,
|
||
Integer. |
Typically used for applications that optimize the number of something; for example,
|
||
Real. |
Typically used for applications that optimize over an uncountable set; for example,
|