# ampl-only¶

## Book Example: Economic equilibria¶

Description: economic model using complementarity conditions from Chapter 19 AMPL book

## Book Example: Transshipment problem¶

Description: book example with general transshipment model (net1.mod)

## Book Example: diet¶

Description: book example autogenerated using diet.mod, diet.dat, and diet.run

## Book Example: prod¶

## Book Example: steel¶

## Book Example: transp¶

## CP-style scheduling model with the *numberof* operator, solved by a MIP solver¶

Description: Scheduling model with the Constraint Programming

*numberof*operator, solved with a MIP solver. New MIP solver drivers based on the [MP library](https://amplmp.readthedocs.io/) enable CP-style modeling.Tags: ampl-only, constraint-programming

Author: Gleb Belov (3 notebooks) <gleb@ampl.com>

## Capacity expansion of power generation¶

Description: Models the extensive form of a deterministic multi-stage capacity expansion problem. In this model we can have multiple resources of the same type which have identical properties. The model can be further developed into a stochastic one.

## Diet lecture¶

Description: Diet case study

Tags: ampl-only, ampl-lecture

## Dual-Donor Organ Exchange problem¶

Description: Most transplants from living donors require only one donor for each procedure. There are, however, exceptions, including dual-graft liver transplantation, bilateral living-donor lobar lung transplantation, and simultaneous liver-kidney transplantation. For each of these procedures, grafts from two compatible living donors are transplanted. As such, these procedures are more involved from an organizational perspective than those with only one donor. Unfortunately, one or both of the donors can often be biologically incompatible with the intended recipient, precluding the transplantation.

Author: Mikhail (1 notebook) <mail@solverytic.com>

## Multicommodity transportation problem¶

Description: Multicommodity transportation model with binary variables

## Nonlinear transportation model¶

Description: book example autogenerated using nltransd.mod, nltrans.dat, and nltrans.run

## Nonlinear transportation problem example¶

Description: book example autogenerated using nltransd.mod, nltrans.dat, and nltrans.run

## Production model¶

Description: generic model for production problem

## Solving a nonogram puzzle¶

Description: Model for solving nonogram puzzles autogenerated using

**nonogram.mod**,**nonogram.dat**and**nonogram.run**.## Steel industry problem¶

Description: model for steel production problem

## Transportation problem¶

Description: an AMPL model for the transportation problem

Tags: ampl-only, ampl-lecture