The EX_LP1 Model

Java Programming Example of Interfacing with the LINDO API

View the model
Download the model

The problem:

MAX = 20 * A + 30 * C
S.T.
A + 2 * C <= 120
A <= 60
C <= 50
Solving such a problem with the LINDO API involves the following steps:
1. Create a LINDO environment.
2. Create a model in the environment.
3. Specify the model.
4. Perform the optimization.
5. Retrieve the solution.
6. Delete the LINDO environement.

Keywords:

Linear Programming |