how can I model the incremental summation of one variable in GAMS cinstraints like the following: y(t) is variable; t is period index that t=1,…,4; in constriants section I want this summation in each period:

t=1 : y(t=1) < t * 10

t=2 : y(t=2) < t * 10 – y(t=1)

t=3 : y(t=3) < t * 10 – y(t=2) – y(t=1)

t=4 : y(t=3) < t * 10 – y(t=3) – > y(t=2) – y(t=1)

asked 14 Sep '16, 11:19

mosahab's gravatar image

mosahab
13
accept rate: 0%

edited 14 Sep '16, 11:20

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 14 Sep '16, 11:19

Seen: 913 times

Last updated: 14 Sep '16, 11:20

OR-Exchange! Your site for questions, answers, and announcements about operations research.