One of LINGO‘s most powerful features is its mathematical modeling language. LINGO’s modeling language lets you express your problems in a natural manner very similar to standard mathematical notation. LINGO allows you to do things such as quickly express a series of similar constraints in a single compact statement. Your models are compact and easy to read.

 

When building models, you typically find there are one or more sets of related objects (e.g., sets of factories, customers, vehicles, or employees). Often if a constraint applies to one member of a set, then a constraint of the same form also applies to each of the other set members. Rather than requiring that you express an individual constraint for each set member, LINGO allows you to express the entire group of constraints in one concise statement. Taking advantage of sets is the foundation of LINGO’s modeling language, the fundamental building block of the program’s most powerful capabilities. LINGO even allows you to express common sets implicitly, such as days of the week or months of the year.

 

LINGO’s modeling language can help you drastically cut your model development time. Very large models can often be efficiently expressed with LINGO in less than a single page. The modeling language’s similarity to standard mathematical notation makes it very easy to read. Models are easier for the developer to maintain and for colleagues to read and understand.

 

© 2024 LINDO Systems, Inc.

Using LINGO, you can easily make your model “scalable”. This means the dimensions of your model can change without requiring changes to your expression of the problem. For example, suppose you are finding the cheapest way to supply a product from several different warehouses to several different customers. If the number of warehouses or customers change, many modeling packages would require significant changes to the problem’s formulation. However, with LINGO, your problem formulation needs no modification. You can simply change the size of your data files and LINGO takes care of the rest.

 

LINGO’s modeling language includes an extensive library of mathematical, probability and financial functions. For more information, see the List of Built-in Functions. You can also create user defined functions for LINGO to use. LINGO accepts generalized expressions including those with parentheses and variables on the right-hand side. LINGO allows you to have meaningful variable names up to 32 characters.