Colab.ampl.com
AMPL Model Colaboratory
Install / Use
/learn @ampl/Colab.ampl.comREADME
AMPL Model Colaboratory
Website
https://colab.ampl.com
Contribution Guide
-
Use the template template/colab.ipynb as base template.
-
In the header make sure you fill the following fields:
Description: <required>
Tags: <required>, <>, <>
Notebook author: <required>
Model author: <optional>
License: <optional>
References: <optional>
-
Do not modify the initial two cells that take care of setup and jupyter notebook integration to do anything other than installing packages and instantiating the ampl_notebook. You can modify the list of modules and add more dependencies, but if you do anything else the changes may be overwritten.
-
Place your notebook inside
colab.ampl.com/authors/<github_username>/. -
Format the notebook with black,
nbqa black colab.ipynb. -
Update the badges and the index as shown below before committing.
Note: The default license for every notebook is MIT unless specified otherwise in the notebook.
Updating notebook headers & index
The following commands update the README file and the index in the documentation, as well as add any new automatically created files to the repository:
$ python scripts/index.py
$ git add docs/source/
Note that the notebook headers are patched with new badges using links to the correct locations after the notebook is published. The first two notebook cells are modified to ensure that requirements are installed and that the ampl_notebook is instantiated.
Notebooks
| Title | GitHub | Colab | Deepnote | Kaggle | Gradient | SageMaker|
|--------|--------|--------|----------|--------|----------|----------|
|A Party Scheduling Problem with FICO Xpress||
|
|
|
|
|
|AMPL - solve multiple models in parallel|
|
|
|
|
|
|
|AMPL - spreadsheet handling with amplxl|
|
|
|
|
|
|
|AMPL Bin Packing Problem with GCG|
|
|
|
|
|
|
|AMPL Capacitated p-Median Problem with GCG|
|
|
|
|
|
|
|AMPL Christmas Model created by ChatGPT|
|
|
|
|
|
|
|AMPL Development Tutorial 1/6 -- Capacitated Facility Location Problem|
|
|
|
|
|[
](https://studiola
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
109.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
349.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
