Forum Discussion
FICO
5 years agoCommunity Manager
Implementing the TSP with DFJ subtour elimination constraints
To learn how callbacks work in Xpress, based on the answer by Daniel Junglas in this question: https://community.fico.com/s/question/0D54W00008P73MsSAJ/lazy-cut-callback-in-java, I've been experiment...
FICO
5 years agoCommunity Manager
I found the issue. The cuts were correct. The problem was in the syncing between BCL and the optimizer. I incorrectly invoked problem.sync(XPRB.XPRS_SOL) instead of problem.sync(XPRB.XPRS_SOLMIP). This manual syncing is very error prone. It would perhaps be slightly more obvious if XPRB.XPRS_SOL would be renamed to XPRB.XPRS_LPSOL
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