The CALLBKC.c Model

A C Programming Example with a Callback Function

View the model
Download the model

A C programming example of interfacing with the LINDO Callable Library that employs a Callback Function. The problem:

MAX = 20 * A + 30 * C
S.T. A + 2 * C <= 120
A <= 60
C <= 50

Solving such a problem with the LINDO Callable Library 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 environment.

Keywords:

Production | Product Mix | Callable Library | Callback Function | Programming | Project Management |