Search found 38 matches
- 3 years ago
- Forum: Syntax
- Topic: Option file Input from GDX
- Replies: 2
- Views: 3149
Re: Option file Input from GDX
Thank you Atharv!
- 3 years ago
- Forum: Syntax
- Topic: Option file Input from GDX
- Replies: 2
- Views: 3149
Option file Input from GDX
Hello all, how can I adjust the option optcr in the option file so that I can use a value (scalar) from the gdx file for this? SCALAR rel_opt_tolerance Relative Optimality criterion; $Onecho > cplex.opt threads=1 tilim=120 optcr=rel_opt_tolerance datacheck 2 mipdisplay 4 $Offecho I have attached a p...
- 3 years ago
- Forum: Syntax
- Topic: EMP Formulation
- Replies: 2
- Views: 2642
Re: EMP Formulation
Perfect! Thank you
- 3 years ago
- Forum: Syntax
- Topic: EMP Formulation
- Replies: 2
- Views: 2642
EMP Formulation
Hello all, How can I generically import the data circled in the image into an emp file? EMP File image.JPG Suppose I load the data (a1=0.3 , a1=0.95, b1=0.5, b2=1, c1=0.2, c2=1.05) from Excel as scalars. As an example serves the model Glad to have your help :) Many greetings Janisch Transport_Stocha...
- 3 years ago
- Forum: Syntax
- Topic: Stochastic AUGMECON Method
- Replies: 7
- Views: 4556
Re: Stochastic AUGMECON Method
Thanks for your answer :) Now it works. I had a thinking error when assigning the stages :roll: But i have a second question: :) Is it possible to read in the distribution probabilities and the corresponding discrete demand quantities from Excel? Because these have to be written directly in the foll...
- 3 years ago
- Forum: Syntax
- Topic: Stochastic AUGMECON Method
- Replies: 7
- Views: 4556
Re: Stochastic AUGMECON Method
Thanks already! The new constraint works well. But I still have the problem that my ObjFunction should not be in Stage 2. I have kept to the example Transport_Stochastic. In this formulation the target function is also not in Stage 2. How can I reformulate my model so that the equation is assigned t...
- 3 years ago
- Forum: Syntax
- Topic: Stochastic AUGMECON Method
- Replies: 7
- Views: 4556
Re: Stochastic AUGMECON Method
Great, thanks for your help. My problem is also that only the ObjFunction("Cost") depends on ud. How can I force that at least the lowest demand is served, if I optimize for example the time as objective function? Because otherwise the individual optimization of the time and the CO2e will ...
- 3 years ago
- Forum: Syntax
- Topic: Stochastic AUGMECON Method
- Replies: 7
- Views: 4556
Re: Stochastic AUGMECON Method
So I tried to get the model to run using emp notations. Now a syntax error appears that I don't understand: Error Cannot open parameter file Error Error code = 2 I have attached the adapted code and the error message. I hope somebody can help me with this error AUGMECON_R.gms INPUT.gdx INPUT_scalar....
- 3 years ago
- Forum: Syntax
- Topic: Stochastic AUGMECON Method
- Replies: 7
- Views: 4556
Stochastic AUGMECON Method
Hello all, I would like to add a stochastic component to my optimization. More precisely, I would like to make the demand parameter B stochastic. It should fluctuate around the predefined value, which comes from the input GDX file, with a defined maximum percentage deviation. Now my question which a...
- 3 years ago
- Forum: Syntax
- Topic: Indicator constraints cplex
- Replies: 2
- Views: 2696
Re: Indicator constraints cplex
Awesome! Thank you