Maximum Problem Dimensions

Some versions of LINGO limit one or more of the following model properties: total variables, integer variables, nonlinear variables, global variables and constraints. The total variable limit is on the total number of optimizable variables in your model (i.e., variables LINGO was unable to determine as being fixed at a particular value). The integer variable limit applies to the total number of optimizable variables restricted to being integers with either the @BIN or @GIN functions. The nonlinear variable limit applies to the number of optimizable variables that appear nonlinearly in the model’s constraints. As an example, in the expression: X + Y, both X and Y appear linearly. However, in the expression: X ^ 2 + Y, X appears nonlinearly while Y appears linearly. Thus, X would count against the nonlinear variable limit. In some cases, nonlinear variables are allowed only if you have purchased the nonlinear option for your LINGO software. The global variable limit is the limit on the number of nonlinear variables when the global solver is used.  The constraint limit refers to the number of formulas in the model that contain one or more optimizable variables. Keep in mind that a single @FOR function may generate many constraints.

The maximum sized problem your LINGO can handle depends on the version you have. The current limits for the various versions are:

 

Version

Total

Variables

Integer

Variables

Nonlinear

Variables

Global

Variables

 

Constraints

Demo/Web

300

30

30

5

150

Solver Suite

500

50

50

5

250

Super

2,000

200

200

10

1,000

Hyper

8,000

800

800

20

4,000

Industrial

32,000

3,200

3,200

50

16,000

Extended

Unlimited

Unlimited

Unlimited

Unlimited

Unlimited

You can also determine the limits of your version by selecting the About LINGO command from the Help menu in Windows, or by typing HELP at the command-line prompt on other platforms. If you determine you need a larger version of LINGO, upgrades are available from LINDO Systems. Please feel free to contact us for pricing and availability.

Note 1:The limits of different LINGO versions are subject to change. Check our website, http://www.lindo.com, for the most current sizes.

 

Note 2:In some versions of LINGO, the nonlinear variable limit will be 0 if you did not purchase the nonlinear option.  Similarly, the global variable limit will be 0 if the global solver option is not enabled.

 

Note 3:LINGO has two other implicit limits not given by the table above—memory and time.  Large models may require more memory to solve than is available on your system, or they may require more time to solve than one would normally be willing to wait.  So, when building large models, be aware that just because your model falls within LINGO’s limits there is no guarantee it will be solvable in a reasonable amount of time on a particular machine.