Forum Discussion
FICO
10 years agoCommunity Manager
Implementing Lazy Constraints (Java)
We are interested in using Lazy Constraints in Xpress (Java) to implement a TSP algorithm. In particular, after each integer solution is generated, we would like to search for violated constraints an...
FICO
10 years agoCommunity Manager
CUT(0):- 586*x_0,1,0 - t_0 + t_1 >= 558
CUT(0):- 636*x_2,5,23 - t_2 + t_5 >= 558
CUT(0):- 606*x_4,2,20 + t_2 - t_4 >= 558
CUT(0):- 595*x_6,3,9 + t_3 - t_6 >= 558
CUT(0):- 561*x_7,8,31 - t_7 + t_8 >= 558
BCL: Warning 1587: Switch to cut mode.
BCL: Warning 1570: XPRS: ?405 Error: Invalid column number passed to XPRSaddcuts.
Column number 2048 is invalid
Exception in thread "main" com.dashoptimization.XPRBerror: (addcuts) Xpress-Optimizer error 405 during 'addcuts'. Return value: 32.
Any ideas? I switched over to using cuts and added them at the end. All cuts are valid for the problem, but maybe Xpress doesn't like them since the current solution to be accepted is violated by them.
Related Content
Related Content
- 0Views0likes1Comment
Implementation of B&B with python
HI! I'm trying to implement a branc-and-bound solver by using the python interface of Xpress. I implemented a MINLP model, and I am trying to solve the linearization with the B&B algorithm. Even t...8 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread2Views0likes4CommentsImplementing Lazy Constraints (C++)
I'm implementing a B&Cut algorithm with BCL - C++ using the cut manager callback. Also I have to implement Lazy Constraints, that is, after each integer solution, search the violated constraints and...9 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum5 unread comments5 unread0Views0likes5Comments