Skip to content
Snippets Groups Projects
Commit 72882dde authored by Derval Guillaume's avatar Derval Guillaume
Browse files

Example for imports

parent 050d94a3
No related branches found
No related tags found
No related merge requests found
#TIMEHORIZON T = 8760;
#GLOBAL
pass;
#NODE FIRST
#PARAMETERS
f = 2;
#VARIABLES
pass;
\ No newline at end of file
#TIMEHORIZON T = 8760;
#GLOBAL
nb_nodes = 10;
#NODE PA
#PARAMETERS
nb = nb_nodes+1;
idx = 2;
#NODE A[i] extends FIRST from "first.gboml" for i in [0:nb-1]
#PARAMETERS
max_v = (i+1)*2+f;
#VARIABLES
internal: x;
#CONSTRAINTS
x >= i+1;
x <= max_v;
#OBJECTIVES
min: x;
#NODE B extends SECOND[idx] from "second.gboml"
#PARAMETERS
max_v = (i+1)*2+f;
#VARIABLES
internal: x;
#CONSTRAINTS
x >= i+1;
x <= max_v;
#OBJECTIVES
min: x;
#VARIABLES
pass;
#NODE C extends THIRD from "third.gboml"
#PARAMETERS
max_v = (2+1)*2+f;
#VARIABLES
internal: x;
#CONSTRAINTS
x >= 2+1;
x <= max_v;
#OBJECTIVES
min: x;
\ No newline at end of file
#TIMEHORIZON T = 8760;
#GLOBAL
pass;
#NODE SECOND[j] for j in [0:3]
#PARAMETERS
f = j*3;
#VARIABLES
pass;
\ No newline at end of file
#TIMEHORIZON T = 8760;
#GLOBAL
pass;
#NODE THIRD
#PARAMETERS
f = 3;
#VARIABLES
pass;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment