[Top][All Lists]

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

Re: [Help-glpk] Question

From: glpk xypron
Subject: Re: [Help-glpk] Question
Date: Fri, 09 Jul 2010 08:33:39 +0200

Hello Morgan,

lpx_write_freemps is deprecated in the current
version of GLPK. The current version is 4.44.

You can download the source from

Windows binaries are available on

All API functions are documented in doc/glpk.pdf.

Look for glp_write_mps().

This is the definition of lpx_write_freemps:
#define lpx_write_freemps _glp_lpx_write_freemps
int lpx_write_freemps(LPX *lp, const char *fname);

fname has to be a valid filename e.g:
c:\temp\example.mps (Windows)
/tmp/example.mps (Linux)

char *fname = "c:\\temp\\example.mps";
int ret;
LPX *lp;
ret = lpx_write_freemps(lp, fname);

Best regards


-------- Original-Nachricht --------
> Datum: Thu, 8 Jul 2010 20:07:28 -0300
> Betreff: [Help-glpk] Question

> Hello All,
> I am beggining glpk programming, would somebody help me about the function
> lpx_write_freemps
> I am trying to read an Model and data, create an lp problem by using
> lpx_read_model
> and then turn it into an freemps format file...that I'll need to use
> be solved.
> First the problem is reading right,
> How should i create this variable output, just name it as a char, or
> should
> i create an
> display.dat ??
> lpx_write_freemps(lp,output)
> I hope I am clear this is a bit confused for me
> Tjanks in advance
> Loreena

GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.  
Bis zu 150 EUR Startguthaben inklusive!

reply via email to

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