Is there a way to read math model from SAV file but not load the basis? In my benders decomposition implementation the sub problem is taking too long. I guess this is because of the basis in the SAV file has the optimization algorithm begin from further away than from starting from clean slate, or the basis has some numerical issues. I could use LP file, but I like the speed in which SAV file read/write is possible. Is there a way to not load basis or remove basis after reading the model from SAV file?

The method I was experimenting was (when model is the cplex object that has the model read to): model.start.set_basis([0 for i in model.variables.get_num()],[0 for i in model.linear_constraints.get_num()])

That does not seem right because it is not equal to starting from clean slate. Anybody can help on this?

asked 18 Jan '18, 11:21

Naveen%20Divakaran's gravatar image

Naveen Divak...
7418
accept rate: 25%

edited 18 Jan '18, 11:21


You could load the sav file and switch off advance basis information :

advanced start switch

Remember to switch it back on, when needed !

Please note we have a CPLEX forum, were you can also ask questions.

link

answered 23 Jan '18, 02:59

Bo%20Jensen's gravatar image

Bo Jensen ♦
5.0k2919
accept rate: 14%

edited 23 Jan '18, 03:02

Thanks for the answer!

(23 Jan '18, 11:50) Naveen Divak...
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
×6
×2
×1

Asked: 18 Jan '18, 11:21

Seen: 224 times

Last updated: 23 Jan '18, 11:50

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