Search found 6 matches

by GamsUser80
5 years ago
Forum: Modeling
Topic: Linearization of the SMIN function?
Replies: 5
Views: 4467

Re: Linearization of the SMIN function?

Thank you, Fred and Michael, for clarification.
by GamsUser80
5 years ago
Forum: Modeling
Topic: Linearization of the SMIN function?
Replies: 5
Views: 4467

Re: Linearization of the SMIN function?

Hi Fred, Thanks for your response. I still can not run the model with MIP because of the Smax part in constraint 3 (error 66). when I deactivated this constraint the model runs but gives the wrong result though. Since x(i,j,t) is a variable as well, are we allowed to use x.up inside the model as par...
by GamsUser80
5 years ago
Forum: Modeling
Topic: Linearization of the SMIN function?
Replies: 5
Views: 4467

Linearization of the SMIN function?

Dear All, Is there any way to convert the below equation to be linearized: Constraint1(t).. Y(t) =e= Smin(i, sum(j, x(i,j,t)) ; In the simple words, I want Y(t) to get the minimum value of that summation for each i. I have found this topic from archive however it is a bit confusing. https://forum.ga...
by GamsUser80
6 years ago
Forum: Modeling
Topic: Error in MIQCP sample model
Replies: 3
Views: 3131

Re: Error in MIQCP sample model

All good now thanks.
by GamsUser80
6 years ago
Forum: Modeling
Topic: Error in MIQCP sample model
Replies: 3
Views: 3131

Re: Error in MIQCP sample model

Hi Michael, Thanks for your point. It works now. Just a quick question on the same problem. I have difficulty in displaying variable Floc(j,c) (set c = {x,y} ). How can i display locations of floc.l as (j,x,y) as currently it just returns as floc(j,x) for floc(j,c) (and y is missed)? Thanks in advan...
by GamsUser80
6 years ago
Forum: Modeling
Topic: Error in MIQCP sample model
Replies: 3
Views: 3131

Error in MIQCP sample model

Hi All,

I'm trying to code the below model. Can anyone tell me what's wrong with my code? everything seems to be same with the instruction.

http://yetanothermathprogrammingconsult ... em-as.html

Regards,
Sean