Git Product home page Git Product logo

Comments (4)

xiaofeishu141220 avatar xiaofeishu141220 commented on July 29, 2024

Hello, I have configured scip-6.0.1 and pyscipopt-2.1.5 according to the installation idea provided by the author. However, when I run the code (02_generate_dataset.py), it does report this error.
"AttributeError: 'pyscipopt.scip.Model' object has no attribute 'getPseudoBranchCands'
Exception ignored in: 'pyscipopt.scip.PyBranchruleExeclp' "

I checked the following scip.pyx file and there is no function that the author need to call in their code, how can I solve this? Do I need to upgrade the solver version?

from hybrid-learn2branch.

pg2455 avatar pg2455 commented on July 29, 2024

Hello Xiao! Can you confirm if you have applied the patch as explained in the installation instructions here - https://github.com/ds4dm/learn2branch/blob/master/INSTALL.md.

It seems like your installation is missing the functions that are implemented in the patch. For some reason, your installation might not have the patch. Can you please check and confirm?

from hybrid-learn2branch.

pg2455 avatar pg2455 commented on July 29, 2024

Hello Jackey!

Setcover problems are hard in general. If you look at the Table 2.4 in the paper. You would see that the maximum number of instances solved are 27 out of 60. So it might happen that you don't see any solved instances. You might have to increase your time limit or the pool of instances to start seeing any results.

Also, please make sure that your evaluation machine is not overloaded with processes. The evaluation will highly depend on the hardware as well as the conditions of the hardware at the time evaluation. A good rule of thumb is to ensure that load average of your machine is always greater than 4 during evaluation.

I hope this helps! Please let me know if you have any other question.

from hybrid-learn2branch.

wangyuhu avatar wangyuhu commented on July 29, 2024

Hi,

It's a good job and so kind of you to share the code on the Github.

I have run and trained the model following the instruction, and choose the best performing model to evaluate on Setcover problem.

However, I found that the performance is so poor that it can hardly solve one of the big instance(all exceed the limit of time).

I wonder to know whether the situation is normal, or maybe something is wrong with the progress of my training?

The result can be attached as the following

learn2branch_CPU_20221023-214346.csv

hybrid_CPU_20221025-232556.csv

Thank you and have a good day.

Hello, buddy. I also encountered this issue while running this code. Have you solved it yet? Can you share your solution? Thanks very much! @pg2455

from hybrid-learn2branch.

Related Issues (4)

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.