Search found 8 matches

by priyanka_shinde
3 years ago
Forum: Modeling
Topic: Issue with running SDDP example available online
Replies: 5
Views: 3550

Re: Issue with running SDDP example available online

Hi Micheal, I have attached the log file and here is the content from lst file: GAMS 24.7.3 r58181 Released Jul 11, 2016 WEX-WEI x86 64bit/MS Windows 04/22/20 09:03:31 Page 1 Multi-Stage Stochastic Water Reservoir Model solved with SDDP (SDDP,SEQ=357) C o m p i l a t i o n 2 The Stochastic Dual Dyna...
by priyanka_shinde
3 years ago
Forum: Modeling
Topic: Issue with running SDDP example available online
Replies: 5
Views: 3550

Re: Issue with running SDDP example available online

Thanks for your reply Michael. I tried to do as you suggested. Then I tried to run the rest of the code and I got these two errors: 36 '=' or '..' or ':=' or '$=' operator expected rest of statement ignored 140 Unknown symbol I am not sure what is wrong? Was there still a problem with choosing an LP...
by priyanka_shinde
3 years ago
Forum: Modeling
Topic: Issue with running SDDP example available online
Replies: 5
Views: 3550

Issue with running SDDP example available online

I tried to run the SDDP example code that is available here: https://www.gams.com/latest/gamslib_ml/libhtml/gamslib_sddp.html But it says "Starting execution - empty program" and the status shows as "Normal completion". This appears in a few seconds. Also, the lst file doesn't gi...
by priyanka_shinde
6 years ago
Forum: Syntax
Topic: Max operator in MINLP
Replies: 1
Views: 2758

Max operator in MINLP

I am trying to model MINLP formulation in which I need to use max operator to find the maximum between two values like max(a,b) so it should either give a or b depending on whichever is maximum. However, in my model a is a variable and b is constant value so can someone suggest me how to use max fun...
by priyanka_shinde
6 years ago
Forum: Modeling
Topic: Uncertainty modelling
Replies: 3
Views: 3933

Re: Uncertainty modelling

Dear Renger, Thank you for your help. But I am still getting error, actually I want to check the constraint 'igdt_constraint(t)' for each value of t igdt_constraint(t)..sum(t,lambda_g*Pg(t)) + sum(t,data(t,'lambda_e')*Pe_b(t))-sum(t,data(t,'lambda_e')*Pe_s(t))=l=-0.48+0.3*abs(-0.48); So I want to re...
by priyanka_shinde
6 years ago
Forum: Modeling
Topic: Uncertainty modelling
Replies: 3
Views: 3933

Uncertainty modelling

Hello, I am trying to model uncertainty in electrical load using Information Gap Decision Theory as used in "https://link.springer.com/chapter/10.1007/978-981-287-302-6_5". So, here I have to maximize alpha (which doesn't change with time). So the formulation is as follows: Objective: max ...
by priyanka_shinde
6 years ago
Forum: Modeling
Topic: Binary variable modelling
Replies: 2
Views: 3570

Re: Binary variable modelling

Dear Michael,

Thank you for your help. I could resolve my problem and now I can get Optimal solution. These constraints were correct however I had to give some lower limit constraints of some other variables in my code.

-Priyanka
by priyanka_shinde
6 years ago
Forum: Modeling
Topic: Binary variable modelling
Replies: 2
Views: 3570

Binary variable modelling

Hello, I am trying to model charging and discharging of batteries with two binary variables I_ch(t) and I_dis(t). I want to impose a constraint such that both do not become 1 at the same time. For that I have an equation 0<= I_ch(t) +I_dis(t)<=1. Also, these two binary variables are being used in ot...