[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] GLPK GUROBI wrapper

From: glpk xypron
Subject: Re: [Help-glpk] GLPK GUROBI wrapper
Date: Wed, 23 Feb 2011 20:30:17 +0100

Hello Matteo,

running your code would violate the license of GLPK because Gurobi
is not licensed under a license compatible to the Gnu Public License.

Please, observe that Andrew chose to publish GLPK under GPL and
not LGPL.

Best regards


-------- Original-Nachricht --------
> Datum: Wed, 23 Feb 2011 16:44:15 +0100
> Betreff: [Help-glpk] GLPK GUROBI wrapper

> Hi,
> I don't know whether this can be of any help to anybody
> but I wrote a GLPK -> GUROBI -> GLPK  kind of wrapper
> which uses GLPK to parse a MathProg model with data files, generates an 
> mps file, solve it with Gurobi,
> and uses the post solve features of GLPK.
> motivations:
> - with somewhat complex models, GLPK is not effective as GUROBI.
> - MathProg is wonderful for fast prototyping and post solve features.
> - AMPL is too expensive :).
> compiling:
> assume you have glpk and gurobi properly installed and GUROBI is a env 
> variable where gurobi is
> #: gcc -std=c99 -O2 -o wrapper_GLPK_GUROBI -I$GUROBI/include/ 
> wrapper_gurobi.c -L$GUROBI/lib/ -lm -lgurobi40 -lpthread -lglpk
> usage:
> #: ./wrapper_GLPK_GUROBI -m mod8.m -d mod8.d
> #: ./wrapper_GLPK_GUROBI -m mod8.m -d mod8.d --glpk_out
> #: ./wrapper_GLPK_GUROBI -m mod8.m -d mod8.d --glpk_out --grb_out
> most of the glpsol options can be passed via command line (I am now 
> addressing with the -y option)
> and most of the parameters can be set via command line too.
> Enjoy,
> Matteo

> Phone: +41 58 666 66 71

Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]