help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Building a graph on the fly


From: Sylvain Fournier
Subject: Re: [Help-glpk] Building a graph on the fly
Date: Tue, 17 Apr 2012 16:35:30 -0300

Ok, thanks Xypron. Then I'll wait for these structures to be ready.

Sylvain

2012/4/17 glpk xypron <address@hidden>
Hello Sylvain,

glp_arc and glp_vertex both have a field data in which information like

double a_cap; // arc capacity
double a_cost; // arc cost
double a_low; // lower bound
double a_x; // arc flow

int v_cut; // 0: node is unlabelled, 1: node is labelled
double v_pi; // node potential
double v_rhs; // supply/demand value
int v_set; // 0: vertex is in set R, 1: vertex is in set S

is stored.

glpk.h does not provide structures with these fields.

I will have to change the GLPK for Java code to provide these structures and the constants needed (length of the data fields, and offsets).

Best regards

Xypron


--
Follow me at http://twitter.com/#!/xypron

NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a



--
Sylvain Fournier
Analista de Pesquisa Operacional
48 3239-2423
WPLEX Software Ltda.
Rod SC 401 no. 8600 Corporate Park bloco 5 sala 101
88050-000 Santo Antônio de Lisboa, Florianópolis SC +55 48 3239-2400
wplex.com.br
WPLEX



reply via email to

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