hello can i use at the same time these two code lines?

cplex.setParam(IloCplex::TiLim, 1000);

cplex.setParam(IloCplex::EpGap, 0.001);

there is no contradiction ?

thanks

asked 20 Nov '15, 05:16

fathese's gravatar image

fathese
1918
accept rate: 0%

What happens if you try?

(20 Nov '15, 13:43) Sune

hi

no contradiction, it will work. CPLEX will stop once the time limit is reached unless the target gap is reached before.

regards

link

answered 20 Nov '15, 15:18

AlexFleischer's gravatar image

AlexFleischer
863
accept rate: 10%

Your answer
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

Asked: 20 Nov '15, 05:16

Seen: 1,116 times

Last updated: 20 Nov '15, 15:18

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