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: glpk xypron
Subject: Re: [Help-glpk] Building a graph on the fly
Date: Tue, 17 Apr 2012 21:14:49 +0200

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



reply via email to

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