Search found 2 matches
- 2 years ago
- Forum: Modeling
- Topic: Is it possible to have negative profits? optimial solution is negative
- Replies: 1
- Views: 1933
Is it possible to have negative profits? optimial solution is negative
Assume that a company that buys oil, refine it and sell it per month, wants to maximize their profits, by finding how much they consume, buy, produce and store (variables) my model has constraints, parameters, equations, everything is on point (or so i think) so the question is, can my optimal solut...
- 2 years ago
- Forum: Syntax
- Topic: How to exclude a value
- Replies: 1
- Views: 1850
How to exclude a value
Hello everyone, i need to know how to exclude a value in gams; i need to exclude the firts element of j to the equation below Set i 'type of oil' /i1*i5/ j 'months' /j1*j6/; Equation Balance( i , j ); Balance( i , j ).. A(i, j-1) + B(i,j) =e= D(i,j) + E(i,j); I need to exclude j1, so the equation on...