Hi Andrew,

JuMP is exactly what you are looking for.
https://github.com/JuliaOpt/JuMP.jl
https://jump.readthedocs.org/en/release-0.2/jump.html

The documentation is quite comprehensive, and there is a lot of example 
code. The code base is stable too, its ready for use (I use it for my own 
research).
Feel free to file issues for anything you might want to know.
We achieve near-AMPL speeds if you use our @addConstraint macros, and 
support directly calling CPLEX, Gurobi, GLPK, Cbc as well as output to LP 
and MPS file formats.
It blows PuLP out of the water - I recommend JuMP over PuLP for people in 
my department now. See http://www.mit.edu/~mlubin/juliacomputing.pdf for 
benchmarks.

We don't have the full "helper" capabilities of AMPL but we'd be happy to 
help translate those to Julia equivalents if you need help.

Cheers,
Iain

On Tuesday, January 14, 2014 3:35:55 PM UTC-5, João Felipe Santos wrote:
>
> Did you have a look at JuMP? I believe it is equivalent to PuLP, but 
> written in Julia: https://github.com/JuliaOpt/JuMP.jl
>
> --
> João Felipe Santos
>
>
> On Tue, Jan 14, 2014 at 2:52 PM, Andrew B. Martin 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> I'm new to julia; I discovered it when I posted in the python pulp-or 
>> google group about generating large LP models.
>>
>> I currently use AMPL for model generation, but I'd like to switch to an 
>> open-source alternative. I first went to pulp-or because I'm familiar with 
>> python, but it's too slow; julia looks promising, but I'm concerned that 
>> since I don't have a solid grasp of the language I might code the 
>> constraints very inefficiently.
>>
>> The LP models I'm generating are about 1.5Gb as .lp files and take ~20 
>> minutes to generate on an 8Gb machine using AMPL.
>>
>> It would help me get started if someone here could translate a piece of 
>> my AMPL code to julia. I think I can translate the whole model if I have an 
>> example to compare against.
>>
>> Anyone here interested? It would be about 10 lines of AMPL code, 
>> describing a variable defined by two derived sets.
>>
>> Regards,
>> Andrew
>>
>
> 

Reply via email to