Search found 8 matches

by ManT
1 month ago
Forum: Syntax
Topic: Syntax Problem
Replies: 2
Views: 171

Re: Syntax Problem

Brilliant. Thank you. I am eternally grateful.
by ManT
1 month ago
Forum: Syntax
Topic: Syntax Problem
Replies: 2
Views: 171

Syntax Problem

Hello, I have a table: Table branch(l,n,np,*) branch characteristics X rating exist branchNum L1.n1.n2 0.0281 2.5 1 1 L2.n2.n3 0.0108 3.5 1 2 L3.n3.n4 0.0297 2.4 1 3 L4.n4.n5 0.0297 2.4 1 4 L5.n5.n1 0.0064 4 1 5 L6.n1.n4 0.0304 1.5 1 6; I have a binary variable x(l,t) I would like to make a summatio...
by ManT
3 months ago
Forum: Syntax
Topic: Element by Element Multplication in GAMS
Replies: 4
Views: 486

Re: Element by Element Multplication in GAMS

GamsAssitance_Fixed.gms Hi Works fine for me, when I run your code after correcting some non-related errors. But perhaps you are looking for something else. I attach the corrected version. Cheers RengerGamsAssitance.gms Many thanks for your quick response. I want to apologize for not explaining my ...
by ManT
3 months ago
Forum: Syntax
Topic: Element by Element Multplication in GAMS
Replies: 4
Views: 486

Element by Element Multplication in GAMS

Hi,

I need help with the correct syntax for element by element multiplication using GAMS. My shortcode is attached.
GamsAssitance.gms
(1.5 KiB) Downloaded 16 times
by ManT
3 months ago
Forum: Modeling
Topic: Optimal restoration path problem - Infeasible solution
Replies: 1
Views: 188

Optimal restoration path problem - Infeasible solution

Hi,

I have modelled the optimal restoration path problem in a 5bus network using AC-power flow formulation. This is modelled as a MINLP problem and solved with BONMIN solver.

My formulation yields an infeasible solution. Can anyone please help?

The gams code is attached.

Thank you.
by ManT
6 months ago
Forum: Modeling
Topic: Help with GAMS Error 140
Replies: 1
Views: 251

Help with GAMS Error 140

Hi
I have the following code and each time I execute I get the GAMS Error
test1123.gms
(1.81 KiB) Downloaded 17 times
140. I would be appreciated if I can get any assistance. My error comes from the last line of the code.
by ManT
1 year ago
Forum: Modeling
Topic: Newbie with GAMS
Replies: 3
Views: 603

Re: Newbie with GAMS

Many thanks for your corrections. I have fixed it. I still have an infeasible solution. See attached GAMS file. Any advice would be appreciated.
by ManT
1 year ago
Forum: Modeling
Topic: Newbie with GAMS
Replies: 3
Views: 603

Newbie with GAMS

Hello All,

I am rather a newbie with GAMS. My model yields an infeasible solution when solved. I suspect, I have not handled the absolute function in the constraint formulation defined in equation 37-52 (see attached files). Any advise or guidance would be greatly appreciated.