86 {
"Anderlues", 0.0, 1.2, 0.0, 66.2, 0.0 },
87 {
"Antwerpen", -
infinity, -4.034, 30.0, 80.0, 0.0 },
88 {
"Arlon", -
infinity, -0.222, 0.0, 66.2, 0.0 },
89 {
"Berneau", 0.0, 0.0, 0.0, 66.2, 0.0 },
90 {
"Blaregnies", -
infinity, -15.616, 50.0, 66.2, 0.0 },
91 {
"Brugge", -
infinity, -3.918, 30.0, 80.0, 0.0 },
92 {
"Dudzele", 0.0, 8.4, 0.0, 77.0, 2.28 },
93 {
"Gent", -
infinity, -5.256, 30.0, 80.0, 0.0 },
94 {
"Liege", -
infinity, -6.385, 30.0, 66.2, 0.0 },
95 {
"Loenhout", 0.0, 4.8, 0.0, 77.0, 2.28 },
96 {
"Mons", -
infinity, -6.848, 0.0, 66.2, 0.0 },
97 {
"Namur", -
infinity, -2.120, 0.0, 66.2, 0.0 },
98 {
"Petange", -
infinity, -1.919, 25.0, 66.2, 0.0 },
99 {
"Peronnes", 0.0, 0.96, 0.0, 66.2, 1.68 },
100 {
"Sinsin", 0.0, 0.0, 0.0, 63.0, 0.0 },
101 {
"Voeren", 20.344, 22.012, 50.0, 66.2, 1.68 },
102 {
"Wanze", 0.0, 0.0, 0.0, 66.2, 0.0 },
103 {
"Warnand", 0.0, 0.0, 0.0, 66.2, 0.0 },
104 {
"Zeebrugge", 8.87, 11.594, 0.0, 77.0, 2.28 },
105 {
"Zomergem", 0.0, 0.0, 0.0, 80.0, 0.0 }
112 { 18, 6, 890.0, 4.0,
FALSE },
113 { 18, 6, 890.0, 4.0,
FALSE },
114 { 6, 5, 890.0, 6.0,
FALSE },
115 { 6, 5, 890.0, 6.0,
FALSE },
116 { 5, 19, 890.0, 26.0,
FALSE },
117 { 9, 1, 590.1, 43.0,
FALSE },
118 { 1, 7, 590.1, 29.0,
FALSE },
119 { 7, 19, 590.1, 19.0,
FALSE },
120 { 19, 13, 890.0, 55.0,
FALSE },
121 { 15, 3, 890.0, 5.0,
TRUE },
122 { 15, 3, 395.0, 5.0,
TRUE },
123 { 3, 8, 890.0, 20.0,
FALSE },
124 { 3, 8, 395.0, 20.0,
FALSE },
125 { 8, 17, 890.0, 25.0,
FALSE },
126 { 8, 17, 395.0, 25.0,
FALSE },
127 { 17, 11, 890.0, 42.0,
FALSE },
128 { 11, 0, 890.0, 40.0,
FALSE },
129 { 0, 13, 890.0, 5.0,
FALSE },
130 { 13, 10, 890.0, 10.0,
FALSE },
131 { 10, 4, 890.0, 25.0,
FALSE },
132 { 17, 16, 395.5, 10.5,
FALSE },
133 { 16, 14, 315.5, 26.0,
TRUE },
134 { 14, 2, 315.5, 98.0,
FALSE },
135 { 2, 12, 315.5, 6.0,
FALSE }
227 for( j = 0; j <
narcs; ++j )
259 vars[0] = pressurediff[
i];
static GRAPHNODE ** active
static const SCIP_Real rugosity
static SCIP_RETCODE runGastrans(void)
static SCIP_RETCODE setupProblem(SCIP *scip)
static const SCIP_Real gastemp
int main(int argc, char **argv)
static const ArcData arcdata[]
static const SCIP_Real density
static const NodeData nodedata[]
static const SCIP_Real compressibility
SCIP_RETCODE SCIPaddCoefLinear(SCIP *scip, SCIP_CONS *cons, SCIP_VAR *var, SCIP_Real val)
SCIP_RETCODE SCIPcreateConsBasicLinear(SCIP *scip, SCIP_CONS **cons, const char *name, int nvars, SCIP_VAR **vars, SCIP_Real *vals, SCIP_Real lhs, SCIP_Real rhs)
SCIP_RETCODE SCIPcreateConsBasicNonlinear(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_EXPR *expr, SCIP_Real lhs, SCIP_Real rhs)
SCIP_RETCODE SCIPcreateExprVar(SCIP *scip, SCIP_EXPR **expr, SCIP_VAR *var, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)
SCIP_RETCODE SCIPcreateExprSignpower(SCIP *scip, SCIP_EXPR **expr, SCIP_EXPR *child, SCIP_Real exponent, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)
SCIP_RETCODE SCIPcreateExprSum(SCIP *scip, SCIP_EXPR **expr, int nchildren, SCIP_EXPR **children, SCIP_Real *coefficients, SCIP_Real constant, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)
SCIP_RETCODE SCIPfree(SCIP **scip)
SCIP_RETCODE SCIPcreate(SCIP **scip)
SCIP_RETCODE SCIPaddVar(SCIP *scip, SCIP_VAR *var)
SCIP_RETCODE SCIPaddCons(SCIP *scip, SCIP_CONS *cons)
SCIP_RETCODE SCIPcreateProbBasic(SCIP *scip, const char *name)
void SCIPinfoMessage(SCIP *scip, FILE *file, const char *formatstr,...)
void SCIPprintError(SCIP_RETCODE retcode)
SCIP_RETCODE SCIPreleaseCons(SCIP *scip, SCIP_CONS **cons)
SCIP_RETCODE SCIPreleaseExpr(SCIP *scip, SCIP_EXPR **expr)
SCIP_RETCODE SCIPpresolve(SCIP *scip)
SCIP_RETCODE SCIPsolve(SCIP *scip)
SCIP_RETCODE SCIPprintOrigProblem(SCIP *scip, FILE *file, const char *extension, SCIP_Bool genericnames)
SCIP_Real SCIPinfinity(SCIP *scip)
SCIP_RETCODE SCIPreleaseVar(SCIP *scip, SCIP_VAR **var)
SCIP_RETCODE SCIPcreateVarBasic(SCIP *scip, SCIP_VAR **var, const char *name, SCIP_Real lb, SCIP_Real ub, SCIP_Real obj, SCIP_VARTYPE vartype)
int SCIPsnprintf(char *t, int len, const char *s,...)
assert(minobj< SCIPgetCutoffbound(scip))
SCIP_RETCODE SCIPincludeDefaultPlugins(SCIP *scip)
enum SCIP_Retcode SCIP_RETCODE
@ SCIP_VARTYPE_CONTINUOUS