-
1. Establish a mathematical model according to the actual problem, that is, use the method of mathematical modeling to establish an optimization model;
2. According to the optimization model, use LINGO to solve the model. Mainly based on the Lingo software, the mathematical model is translated into computer language and solved with the help of a computer.
When using Sen Li Dan Lingo to solve linear programming, if the independent variables are all non-negative, the input information in Lingo is basically the same as the model. If the independent variable is a free variable, you can use the function @free to define the system's default non-negative variable as a free variable, such as x3 in example 1.
Features of Lingo:
Variables in lingo are not case-sensitive, and should not exceed 32 characters starting with a letter; Arithmetic scramblers operate on numerical values; Lingo provides 5 binary operators: multiplication and division of multiplication and division; Lingo's only unary arithmetic operator is the inverse function " ".
Lingo has a full suite of fast, built-in solvers for solving linear, nonlinear (spherical& aspherical), quadratic, quadratically constrained, and integer optimization problems. It doesn't even take a break to specify or start a specific solver, as Lingo reads your equation and automatically selects the appropriate solver.
-
The process of using Lingo is as follows:Tools Raw Materials: Dell XPS13-9350-3708, Win10,.
1. Find minz 2 x1 3 x2 x3.
2. Open the lingo software and enter the programming state below.
3. Enter the objective function: minz loss socks 2 x1 3 x2 x3.
4. See if you enter it correctly, if there is no error, then continue to enter the following divisor condition.
5. After entering the divisor equation, run it again if the pin excitation is not the same, it means that you have entered the wrong number, and here you can see that the number of the rear Yuling surface given by the objectivevalue is 7.
6. The divisor of the last x has not been entered above, and after the following figure is added, you will find that the results are still consistent, and this problem is solved.
-
Lingo is an interactive linear and general-purpose optimization solver. Launched by Lindo Systems in the United States, it can be used to solve nonlinear pure year planning, and can also be used to solve some linear and nonlinear equations, etc., which is very powerful and is the best choice for solving optimization models. It features a built-in modeling language that provides more than a dozen intrinsic functions that allow decision variables to be integers (i.e., integer programming, including 0-1 integer programming), which is convenient and flexible, and the execution speed is very fast.
It can easily exchange data with other software such as excel and databases. <
Demo model: Huawei MateBook X
System version: win10
App version: Lingo is an interactive linear and general-purpose optimization solver. Launched by Lindo Systems in the United States, it can be used to solve nonlinear programming, and can also be used to solve some linear and nonlinear equations, etc., which is very powerful and is the best choice for solving optimization models.
It features a built-in modeling language that provides more than a dozen intrinsic functions that allow decision variables to be integers (i.e., integer programming, including 0-1 integer programming), which is convenient and flexible, and the execution speed is very fast. It is convenient to exchange data with other software such as excel and databases.
-
Advantage: Simple model representation. Convenient data input and output options.
Powerful solver. Interact with the bucket model or create a turn-key application. It features a built-in modeling language that provides more than a dozen intrinsic functions that allow decision variables to be integers.
In various fields, the book is equipped with a wealth of cases and solvers to help readers understand the Lingo software in depth. At the same time, the book has a special chapter to introduce the application examples in mathematical modeling, based on 10 classic cases of mathematical modeling, of which 9 cases all the models are implemented in Lingo programming, and debugged in the Lingo 12 version. These cases are the result of years of programming experience and ingenuity from the authors.
On the basis of an in-depth introduction to the basic usage of Lingo and the interface between Lingo and external files, this book introduces Lingo software and its applications at two levels:
The first level introduces the conventional methods and skills of Lingo software to solve optimization models in the context of mathematical programming, graph theory and network optimization, multi-objective programming, etc.
The second level introduces the application of lingo software in the field of non-optimization with the background of game theory, storage theory, queuing theory, decision analysis, evaluation spike method, least squares method, etc., and fully demonstrates the advantages and application expansion of lingo software.
At present, only Motorola in Chinese mainland is the closest to the lollipop system of the native Android, after all, it is Google's own son. >>>More
What's new in Android:
Although some Android phones now support voice wake-up function, these voice wake-ups are developed by third-party manufacturers, and this time Android adds voice search under the lock screen at the system level, which will undoubtedly have a positive and obvious improvement in the experience. >>>More
There's that transparent desktop, a lot of special effects.
It's normal to upgrade to a few days ago.,Today, click any key on the login interface on the infinite chrysanthemum.,Reinstall from the recovery disk is also stuck.。 What to do!! Thank you. >>>More
The functions are almost the same, but HisenseBCD-558WGBP T This smart refrigerator has two new functions,It is not available in other brands of smart refrigerators:One is the food management function,It can realize the scientific management of the best shelf life temperature of food,Predict the shelf life,When the shelf life of a certain product is approaching,A red light prompt will be displayed。 There is also a health butler who provides private health programs and a reasonable mix of food and drink in the refrigerator. >>>More