Current location - Training Enrollment Network - Mathematics courses - How to use lingo?
How to use lingo?
1. Establish a mathematical model according to practical problems, that is, establish an optimization model by using mathematical modeling;

2. According to the optimized model, LINGO is used to solve the model. Mainly according to LINGO software, the mathematical model is translated into computer language and solved by computer.

When solving linear programming with LINGO, if the independent variable is non-negative, the information input in LINGO is basically the same as the model; If the independent variable is free variables, you can use the function @free to define the system default non-negative variable as free variables, such as x3 in 1.

The characteristics of argot:

Variables in Lingo are case-insensitive, with no more than 32 characters beginning with letters; Arithmetic operators operate on numerical values; LINGO provides five binary operators: power multiplication/division addition and subtraction; The only unary arithmetic operator in argot is the negative function "-"."

LINGO has a set of fast built-in solvers to solve linear, nonlinear (spherical &; ; Aspheric surface), quadratic, quadratic constraints and integer optimization problems. You don't even need to specify or start a specific solver, because LINGO will read your equation and automatically select the appropriate solver.