Skip to content

vitaut/iampl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

IPython interface to AMPL

This is an IPython extension for working with AMPL.

See AMPL magic: using IPython as an interface to AMPL for an introduction on how to use this extension.

It is licensed under the terms of the BSD license.

Installation

Using pip

The following command installs the ampl extension using pip:

$ pip install ampl

Using easy_install

The following command installs the ampl extension using easy_install:

$ easy_install ampl

Usage

To load the ampl extension while IPython is running, use the %load_ext magic:

In [1]: %load_ext ampl

To load it each time IPython starts, list it in your configuration file:

c.InteractiveShellApp.extensions = ['ampl']

Credits

Thanks Leonardo Taccari (sbebo) for implementing the realtime output.

About

AMPL magics for IPython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages