Hey Dominique,

This is great! I've been hoping someone would put something like this 
together. I was just talking about this (among other things) with Miles 
over in 
julia-opt https://groups.google.com/forum/#!topic/julia-opt/CFyxCfjeOCw

Since there's so much overlap between what AMPL does and what JuMP/JuliaOpt 
do, I think the most useful way forward here would be to eventually 
incorporate reading (and writing) AMPL models to and from JuMP's 
representation. This way AMPL interoperability could be just a mode switch 
to compare AMPL's AD versus JuMP's Julia AD for the same model formulation, 
and allow JuMP models to access a wider variety of existing optimization 
solvers, and solvers written entirely in Julia to access a huge number of 
existing test problems.

-Tony


On Saturday, April 12, 2014 10:14:51 PM UTC-7, Dominique Orban wrote:
>
> I just put together a few C and Julia files that let users read models in 
> the AMPL modeling language for optimization.
>
> https://github.com/dpo/ampl.jl
>
> It's not quite a module or a package; please bear with me as I'm still 
> learning Julia. This gives access to a huge collection of problems already 
> written in AMPL, e.g.,
>
> http://orfe.princeton.edu/~rvdb/ampl/nlmodels/index.html
> https://github.com/mpf/Optimization-Test-Problems (many of the same 
> problems, without the solve command)
> http://netlib.org/ampl/models/
> etc.
>
> AMPL computes first and second derivatives for you, so it should be easy 
> to pass such problems to solvers written in Julia, and to write solvers 
> around this model format.
>
> Cheers.
>

Reply via email to