[Top][All Lists]

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

Re: [Help-glpk] Example for reading CLEXP LP format file

From: glpk xypron
Subject: Re: [Help-glpk] Example for reading CLEXP LP format file
Date: Fri, 20 Jun 2008 20:47:28 +0200

Hello Paul,

the glpk package comes with the stand alone solver glpsol, which processes 
CPLEX LP files.
The relevant source is in src/glplpx20.c

A minimum program (without presolver, solving LP only, using Simplex, without 
error handling) is:

#include "glpapi.h"
int main()
  LPX *lp = NULL;
  lp = lpx_read_cpxlp("examples/plan.lp");

plan.lp is supplied with the glpk source.

Best regards


-------- Original-Nachricht --------
> Datum: Sat, 21 Jun 2008 01:11:33 +0800 (SGT)
> Von: RC Loh <address@hidden>
> An: address@hidden
> Betreff: [Help-glpk] Example for reading CLEXP LP format file

> Hi,
> I tried using the function in GLPK package to read a CLEXP LP format file
> but it failed. Can some one show me a working example of a C program that
> calls the function that reads a CLEXP LP format file?
> Thank you.
> Rdgs,
> Paul
>       Get your preferred Email name!
> Now you can and

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN:

reply via email to

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