Hi all, I am a new user to CPLEX. I need to write time interval for a MILP problem.Here time interval is not a decision variable. t=half an hour time= day so time =[48 intervals] Problem: dvar float+ c[time]; dvar boolean w[time]; One constraint is such that w[t]=w[t-1]; (continuous)

asked 10 Mar '15, 12:44

Pihhhu's gravatar image

Pihhhu
1113
accept rate: 0%

edited 10 Mar '15, 20:51

2

You need to understand that if you ask a very general question like this one, you will get a very general (useless) answer or no answer at all. Please specify your problem, the way you tried to model it, and please formulate a precise question like "how to I model this with a linear constraint", or "what variables do I have to use to accomplish ..." From your "question" I do not see whether you have trouble with the model or with OPL or ...

(10 Mar '15, 13:42) Marco Luebbecke ♦
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:

×191
×16
×8
×2

Asked: 10 Mar '15, 12:44

Seen: 2,762 times

Last updated: 10 Mar '15, 20:51

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