Give “;” after finishing a line of code
and between the month and time no need of give “,”. Remove it.
On Wed, Nov 9, 2011 at 4:00 PM, SOHOM MANDAL wrote:
You should define the EQ2 at the time of equation declaration.
On Wed, Nov 9, 2011 at 1:09 PM, puneet aggarwal wrote:
either month or time will come not both
On Wed, Nov 9, 2011 at 12:59 AM, Diego Borges wrote:
I am new to modeling and I have a problem.
I would greatly appreciate the help of staff one day certainly had
something similar.
Briefly, I have:
Variables:
EC (month, time), GE (month, time) and VE (month, time)
Parameter:
DE (month, time)
A (month, time), B (month, time) and C (month, time)
Equations
Objective function (EQ1)
EQ1 … Z = e = Sum ((month, time), EC (month, time) * A (month, time)
- GE (month, time) * B (month, time) - VE (month, time) * C (months ,
hours) $ (GE (month, time) gt DE (month, time)))
EQ2 … EC (month, time) + GE (month, time) = g = DE (month, time)
The problem lies in the objective function (EQ1), the last term VE * C
$ (GE gt DE), because VE and GE are variables of the problem.
Best Regards,
Diego Borges.
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
Thanks,
Best Regards
Sohom Mandal
M.tech
Center for Enviornmental Science and Engineering
IIT Bombay, Powai, Mumbai
Pin 400076
Mobile: 9930065368
sohomiitb@gmail.com
sohomiitb@iitb.ac.in
\
Thanks,
Best Regards
Sohom Mandal
M.tech
Center for Enviornmental Science and Engineering
IIT Bombay, Powai, Mumbai
Pin 400076
Mobile: 9930065368
sohomiitb@gmail.com
sohomiitb@iitb.ac.in
–
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.