Search found 6 matches

by ggood
6 months ago
Forum: Syntax
Topic: Parallelizing with GAMS/Lindo
Replies: 2
Views: 7226

Re: Parallelizing with GAMS/Lindo

Hi Fred,

Thank you for replying and confirming that my syntax is correct. I will keep experimenting with the code, and if I need further assistance I will post code and log files. Cheers!

Greg
by ggood
6 months ago
Forum: Syntax
Topic: Parallelizing with GAMS/Lindo
Replies: 2
Views: 7226

Parallelizing with GAMS/Lindo

Hi, I'm using Lindo to find a global solution to a large MINLP flow network optimization problem. I'm attempting to reduce my solve time by parallelizing Lindo. I tried setting threads to n=-2 using the GAMS command line parameter 'threads' based on https://www.gams.com/mccarlGuide/threads.htm optio...
by ggood
1 year ago
Forum: Modeling
Topic: River Node Network Model - Flow Balance Issue
Replies: 0
Views: 2936

River Node Network Model - Flow Balance Issue

Hi, I'm working on a node network model that routes water through nodes representing a river system to satisfy agricultural demand for water (Demand_AG). The issue I have is with my flow balance at nodes (EQ3a). This constraint is currently formulated as an inequality such that flows entering each n...
by ggood
1 year ago
Forum: Syntax
Topic: Conditional binary formulation for variable greater than 0
Replies: 4
Views: 5636

Re: Conditional binary formulation for variable greater than 0

Hi,

Thank you for your response. What I’m confused about in your proposed formulation is how it ensures that when X=0 that B is all =0. Isn’t it the case that when X=0 that B can equal either 0 or 1? Thanks again for your help!
by ggood
1 year ago
Forum: Syntax
Topic: Conditional binary formulation for variable greater than 0
Replies: 4
Views: 5636

Re: Conditional binary formulation for variable greater than 0

Hi,

Thank you for your response. What I’m confused about in your proposed formulation is how it ensures that when X=0 that B is all =0. Isn’t it the case that when X=0 that B can equal either 0 or 1? Thanks again for your help!
by ggood
1 year ago
Forum: Syntax
Topic: Conditional binary formulation for variable greater than 0
Replies: 4
Views: 5636

Conditional binary formulation for variable greater than 0

Hi everyone, I am working on an MIP optimization problem where X is a positive variable with a lower bound of zero and no upper bound and B is a binary variable. X{0,inf} and B{0,1} I'm trying to formulate equations such that if X =E= 0 then B =E= 0, else B=E=1. I've bound B with the following const...