Search
Close this search box.
AMPL for Teaching

Teach Optimization with AMPL

We make it simple for you to teach mathematical optimization.

Discover how AMPL for teaching caters to optimization courses with easy-to-distribute bundles, APIs to your favorite programming languages, an all-new Google Colab environment and an array of education materials. 

Woman standing outside of building smiling with hands in pockets - AMPL for teaching makes it simple for students to learn

Teaching optimization with AMPL

We make it simple for you to teach mathematical optimization.

Discover how AMPL caters to optimization courses with easy-to-distribute bundles, APIs to your favorite programming languages, an all-new Google Colab environment and an array of education materials. 

Teaching optimization with AMPL

We make it simple for you to teach mathematical optimization.

Woman standing outside of building smiling with hands in pockets - AMPL for teaching makes it simple for students to learn

Discover how AMPL caters to optimization courses with easy-to-distribute bundles, APIs to your favorite programming languages, an all-new Google Colab environment and an array of education materials. 

Free to use.

Full of features & support.

No need to teach optimization without a proper specific modeling language. Use AMPL’s mathematical programming language with APIs for Python, R, C++, C#, Matlab and Java. 

Free licenses and Google Colab environment.

The foundational tools you need to start teaching today. No credit card needed.

$0

No payments.

AMPL for Courses and AMPL on Google Colab are free course offerings with no payments for AMPL, the AMPL ecosystem or any of the commercial solvers we distribute. 

No limitations.

Our course licenses have no limitations on variables or constraints.

Catered resources.

Use AMPL’s textbook to teach AMPL from beginning to end. Test your student’s comprehension and build their skillset with example models from each chapter. Explore the AMPL Colaboratory for dozens of real-world examples in Jupyter Notebooks.

Technical support.

AMPL for Courses has dedicated technical support for any issues with installation or license management. 

Choose the option that works for YOUR course

More options for an ever-changing teaching landscape

AMPL for Courses for machine use

Use our classic “AMPL for Courses” bundle license for downloading AMPL on your machines.

The AMPL for Courses license bundle is our long-standing offering free of charge, for optimization classes and teaching environments. 

AMPL for Courses is a free bundle of full-featured AMPL with no limitations on problem size.

Select from our extensive list of solvers. Customize your course bundle to include commercial solvers (Gurobi, CPLEX, Xpress) and open-source solvers (CBC).

Contact us, or fill in a short request form through the license portal to receive your free bundle for courses. 

AMPL and solvers are provided in a single compressed download for each platform. Packages are easily installed on any computers used in conjunction with the course, including personal computers of professors, teaching assistants, and students.

We provide assistance to the course instructor, with support for the students to be provided through the course. 

The AMPL book provides a detailed introductory tutorial plus tutorial introductions to all basic and advanced features.

Numerous examples are available including all models and data from the AMPL book as well as a variety of scripts for common iterative schemes.

The license and products will automatically stop working on a built-in timeout after the course ends. 

Your course bundle UUID can be used on Google Colab to allow the course access to commercial solvers from within the Google Colab environment.

Use APIs to bring in other languages

Teach AMPL with other popular programming languages with our APIs

No need to teach optimization without a proper specific modeling language. Use AMPL’s mathematical programming language with APIs for Python, R, C++, C#, Matlab and Java. 

amplpy is an interface that allows developers to access the features of AMPL from within Python. 

In the same way that AMPL’s syntax matches naturally the mathematical description of the model, the input and output data matches naturally Python lists, sets, dictionaries, pandas and numpy objects.

See full documentation here.

rAMPL is an interface that allows developers to access the features of AMPL from within R.

In the same way that AMPL’s syntax matches naturally the mathematical description of the model, the input and output data matches naturally R data types such as vectors and dataframes.

See full documentation here.

See full documentation here

See full documentation here.

See full documentation here.

See full documentation here

Best of both worlds - AMPL on Google Colab!

Teach AMPL without abandoning the Python language, and run in the browser for no installation.

Circle of logos associated with the AMPL-Python Ecosystem for large-scale optimization

No Problem Size Limitation

Access a full AMPL license on Google Colab and add as many variables and constraints as you’d like!

Access commercial solver with your UUID

Request an AMPL for Courses license bundle and we will create a UUID that you can add directly into the Colab environment so you can access all commercial solvers. 

Access the benefits of Colab for teaching

Create examples in Colab and easily share links to your students. Download, safe to the drive, submit work as needed – all in the cloud. 

No downloads or installations required

Use in the browser without any downloads needed.

Teaching materials and support

AMPL’s development team is working on expanding our course offerings to include python specific teaching materials to use with Colab. 

Jupyter Notebook Examples

Design your courses with the help of our current list of Jupyter Notebooks. 

Less planning, more teaching

Customize your course with the tools you need to build, expand, and manage your optimization related courses. 

Group 21

---------------

Create course content with readily available resources

Use our AMPL textbook for a full introduction to AMPL and real-world mathematical optimization. Our book examples are available online.

Explore our Colaboratory for a wide selection of real-world examples in Jupyter Notebooks. 

Group 2 Copy 22

---------------

Select your solvers for Courses and Colab

Choose from 14 of the world’s most powerful commercial solvers, and 5 impressive open-source solvers for your course bundle. Access them in Google Colab with your AMPL for Courses bundle UUID.

Group 2 Copy 43

---------------

Connect to your data sources directly

AMPL works with CSV, Excel, Microsoft SQL Server, MySQL and PostgreSQL. Access Python specific tools such as pandas