# 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#

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

Author: N/A

## Book Example: steel#

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

Author: N/A

## Book Example: transp#

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

Author: N/A

## 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 (7 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.

## 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

## Oil refinery production optimization (ampl-only version)#

Description: In this document, we present an enhanced approach to oil refining optimization for improved decision-making.

## Optimization of an TV advertising campaign based on TRP, GRP indicators#

Description: The modern world is unthinkable without advertising. Advertising is the engine of progress.

## Optimization of an advertising campaign for launching a new product on the market#

## Production model#

Description: generic model for production problem

## Profit Maximization for Developers: Optimizing Pricing, Marketing, and Investment Strategies#

## 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