Strictly greater than for equations

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Fadwa,

You can try:

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) =G= Epsilon;

with Epsilon equal to a small number.


Cheers,
Pedro

On Wed, Jun 17, 2015 at 6:14 PM, fadwa dababneh wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

PEDRO JAVIER RAMÍREZ TORREALBA
Ingeniero Civil Eléctrico PUC
MSc en Ingeniería Eléctrica PUC
Londres, REINO UNIDO

Celular: +44-(0)75-8069-3119


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Fadwa:

Short Answer: You can’t. In an optimization context strict inequalities are not allowed because there’s conflict between having open sets and proofs of optimality (I’m not a mathematician, so take this as a pointer).

Mini-example: What is the solution to the following optimization problem ? max x st x wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Thanks alot Pedro!

On Thursday, June 18, 2015 at 8:20:26 AM UTC-5, PowerChile wrote:

Hi Fadwa,

You can try:

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) =G= Epsilon;

with Epsilon equal to a small number.


Cheers,
Pedro

On Wed, Jun 17, 2015 at 6:14 PM, fadwa dababneh wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.



\

PEDRO JAVIER RAMÍREZ TORREALBA
Ingeniero Civil Eléctrico PUC
MSc en Ingeniería Eléctrica PUC
Londres, REINO UNIDO

Celular: +44-(0)75-8069-3119


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Thanks alot Claudio!

On Thursday, June 18, 2015 at 8:20:45 AM UTC-5, Claudio Delpino wrote:

Hi Fadwa:

Short Answer: You can’t. In an optimization context strict inequalities are not allowed because there’s conflict between having open sets and proofs of optimality (I’m not a mathematician, so take this as a pointer).

Mini-example: What is the solution to the following optimization problem ? max x st x wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

hi all,

I think Fadwa is asking a simpler question: you can use GT instead of G,

then in certain cases you will have the described problems, but not necessarily, am I wrong in this point?

Best,
Roger

2015-06-18 15:09 GMT+02:00 Claudio Delpino :

Hi Fadwa:

Short Answer: You can’t. In an optimization context strict inequalities are not allowed because there’s conflict between having open sets and proofs of optimality (I’m not a mathematician, so take this as a pointer).

Mini-example: What is the solution to the following optimization problem ? max x st x wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Hi Roger: Fadwa asked (and we answered) in the context of the symbol that specifies the relation in an “equation” (constraint in optimization terms). In that context, strict inequalities are not allowed for the reason I mentioned.

In the context of a conditional you can of course use gt. ie

set i /1*10/;
parameter f(i);
f(i)=1$(Ord(i) >5);
display f;

good luck!
Claudio
El 18/06/2015 18:26, “Roger Cremades Rodeja” escribió:

hi all,

I think Fadwa is asking a simpler question: you can use GT instead of G,

then in certain cases you will have the described problems, but not necessarily, am I wrong in this point?

Best,
Roger

2015-06-18 15:09 GMT+02:00 Claudio Delpino :

Hi Fadwa:

Short Answer: You can’t. In an optimization context strict inequalities are not allowed because there’s conflict between having open sets and proofs of optimality (I’m not a mathematician, so take this as a pointer).

Mini-example: What is the solution to the following optimization problem ? max x st x wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

hi Claudio, sure, strict inequalities do not allow to look for the extreme points where the optimal solutions are, I guess this is what you meant, cheers, Roger

2015-06-19 2:09 GMT+02:00 Claudio Delpino :

Hi Roger: Fadwa asked (and we answered) in the context of the symbol that specifies the relation in an “equation” (constraint in optimization terms). In that context, strict inequalities are not allowed for the reason I mentioned.

In the context of a conditional you can of course use gt. ie

set i /1*10/;
parameter f(i);
f(i)=1$(Ord(i) >5);
display f;

good luck!
Claudio
El 18/06/2015 18:26, “Roger Cremades Rodeja” escribió:

hi all,

I think Fadwa is asking a simpler question: you can use GT instead of G,

then in certain cases you will have the described problems, but not necessarily, am I wrong in this point?

Best,
Roger

2015-06-18 15:09 GMT+02:00 Claudio Delpino :

Hi Fadwa:

Short Answer: You can’t. In an optimization context strict inequalities are not allowed because there’s conflict between having open sets and proofs of optimality (I’m not a mathematician, so take this as a pointer).

Mini-example: What is the solution to the following optimization problem ? max x st x wrote:

Hi everyone!

I am trying to equate the below equation; however, according to the user guide =g= represents greater than or equal to. What can I do to only get greater than in my equation?

cstate(j)… z(‘c’)(T(j)+(CQ/Vrho*Cp))-ST(j) >0;

Thank for the Help!
Best Wishes,
Fadwa Dababneh
University of Illinois at Chicago


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.