Search found 29 matches

by Abhi140
2 years ago
Forum: Syntax
Topic: Nested variables
Replies: 3
Views: 2974

Re: Nested variables

Any help?

Additional, there was an error in the equation which is corrected in the following equation.
eq1(i,j)$cx(i,j)..
fg(i,j) =e= fdata(i,j,'Fgmin') + sum(nsl,(1/ns)*(fdata(i,j,'Fgmax')-fdata(i,j,'Fgmin'))*ds(ord(fdata(i,j,'Cjj')),nsl));
by Abhi140
2 years ago
Forum: Syntax
Topic: Nested variables
Replies: 3
Views: 2974

Re: Nested variables

Will it work in the following way? Defined new set l and nsl. Kept equal number of steps for each line. Defined variable ds(l,nsl). Now the usage of this variable in the equation is very important. I have written this with the use of operator ord(Cjj(i,j)) for the line number and ns for step number....
by Abhi140
2 years ago
Forum: Syntax
Topic: Nested variables
Replies: 3
Views: 2974

Re: Nested variables

Equation 2 isn't complete yet. But that won't affect the question asked.
by Abhi140
2 years ago
Forum: Syntax
Topic: Nested variables
Replies: 3
Views: 2974

Nested variables

Hi, My problem is with the definition of variable 'ds' used in equations 1 & 2. Eq 1 & 2 runs for each line. And each line has ns (ns is a parameter in the fdata table) number of steps. Variable 'ds' should be defined for each step in each line. The way I have written variable 'ds' in equati...
by Abhi140
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3512

Re: modeling error with MOSEK

Dear,

Don't be rude. Immediately, I have shared my files.
Well, I don't know what GAMS cover in their license. Mistake on my part, well accepted.
by Abhi140
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3512

Re: modeling error with MOSEK

work1.gms
(6.11 KiB) Downloaded 263 times
systemdata.xlsx
(17.54 KiB) Downloaded 267 times
Dear Bussieck,

Please have look at the attachments which are giving the same error. Please let me know if I could help you with more information.
by Abhi140
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3512

Re: modeling error with MOSEK

Dear Bussieck,

The error is same even if I remove the bound on variable S.

I can share my attachments on your email or otherwise. Sharing on public platform might be problematic for me. Later the solution of the error we can share for public use.
Hope it's fine with you.
by Abhi140
3 years ago
Forum: Modeling
Topic: modeling error with MOSEK
Replies: 6
Views: 3512

modeling error with MOSEK

Dear All, Could you please help me out with the following error? error - 'No conic reformulation recognized for equation eq21(45)' Solver - MOSEK Problem type- MINLP (minimization) Also, if I am using =c= operator for MOSEK, the following error appears mosekgms.c:3323: MSK_GAMS_readtask: Coefficient...
by Abhi140
3 years ago
Forum: Solvers
Topic: No conic reformulation recognized for equation eq21(45) with MOSEK
Replies: 0
Views: 2143

No conic reformulation recognized for equation eq21(45) with MOSEK

Dear All, Could you please help me out with the following error? error - 'No conic reformulation recognized for equation eq21(45)' Solver - MOSEK Problem type- MINLP (minimization) The LINDOGLOBAL solver successfully solves the problem. However, MOSEK unable to reformulate the constraint (eq21) into...