Giter VIP home page Giter VIP logo

Comments (7)

leoneifler avatar leoneifler commented on May 31, 2024

Hello, you are saying you want the search tree during the solution of an LP, is that a typo? A pure LP (no integer variables) does not require a tree search. If you mean MIP, how exactly do you want to have the tree? There exists, e.g. a visualization feature that writes the tree info to a file.

from scip.

izuwaa avatar izuwaa commented on May 31, 2024

Hello,

Thank you for the speedy response. I did mean MIP apologies for that.

Just to be clearer on what I need; I am trying to implement the one-tree algorithm (Generating Multiple Solutions for Mixed Integer Programming Problems Danna etal 2007) where I can query the search tree for solutions within x% of the optimal solution and carry out further actions on the returned nodes.

Could you recommend how I could achieve this on SCIP?

Thanks a lot for helping.

from scip.

izuwaa avatar izuwaa commented on May 31, 2024

Any help with the above will be really appreciated.

Thanks,
Izuwa.

from scip.

leoneifler avatar leoneifler commented on May 31, 2024

So if I understand you correctly you want to be able to access information for each of the nodes after (or during?) the solving of a MIP? I think this you would probably have to implement for yourself within SCIP. You could, for example create an event handler (https://www.scipopt.org/doc/html/EVENTHDLR_MAIN.php) that activates whenever a node is solved and either saves the information that you want in some data structure (in case you want to do this stuff during the tree search), or that writes the information to some file for you to access later.

from scip.

izuwaa avatar izuwaa commented on May 31, 2024

Yes I would like to access the information of each node after the solving of an MIP. Thank you very much for pointing in the right direction. I would explore the event hander as recommended.

I didn't want to recreate this if it was already in SCIP i.e. to query the search tree for solutions within x% of the optimal, and get those solutions and their associated values.

from scip.

leoneifler avatar leoneifler commented on May 31, 2024

So some more info on this: If you only want to have as many solutions as possible, then you should definitly use an event that triggers on a found solution (SCIP_EVENTTYPE_SOLFOUND). Also: SCIP will of course not explore all feasible solutions (especially if you find an optimal solution early on, large parts of the tree might be pruned where suboptimal solutions could be found).

from scip.

izuwaa avatar izuwaa commented on May 31, 2024

from scip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.