coin (25 notebooks)#
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 (8 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
Diet model with Google Sheets#
Description: Diet model using Google Sheets
Google Hashcode 2022#
Description: Google Hashcode 2022 Practice Problem
Hydrothermal Scheduling Problem with Conic Programming#
Description: Hydrothermal Scheduling Problem using Second-Order Cones
Tags: amplpy, conic, second-order-cone, quadratic-cone, nonlinear-programming, scheduling, engineering, power-generation, geothermal-energy, hydropower
Author: Gleb Belov (8 notebooks) <gleb@ampl.com>
Logistic Regression with amplpy#
Description: Logistic regression with amplpy using exponential cones
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
Optimal Power Flow with AMPL and Python - Bus Injection Model (BIM)#
Description: Optimal Power Flow
Author: Nicolau Santos (8 notebooks) <nicolau@ampl.com>
Optimal Power Flow with AMPL and Python - Bus Injection Model (BIM) with controllable-phase shifting transformers and tap-changing transformers#
Optimal Power Flow with AMPL and Python - conventional Power Flow#
Description: Optimal Power Flow
Author: Nicolau Santos (8 notebooks) <nicolau@ampl.com>
Optimal Power Flow with AMPL and Python - data management#
Description: Optimal Power Flow with AMPL, Python and amplpy
Author: Nicolau Santos (8 notebooks) <nicolau@ampl.com>
Optimization Methods in Finance: Chapter 3#
Description: Optimization Methods in Finance: Bond Dedication Problem.
Production model#
Description: generic model for production problem
Steel industry problem#
Description: model for steel production problem
Transportation problem#
Description: an AMPL model for the transportation problem
Tags: ampl-only, ampl-lecture
Travelling Salesman Problem with subtour elimination#
Description: this example shows how to solve a TSP by eliminating subtours using amplpy and ampls
Author: Christian Valente (5 notebooks) <ccv@ampl.com>