Giter Site home page Giter Site logo

Comments (8)

jajhall avatar jajhall commented on June 11, 2024 1

Guessing that "quadratic energy term" is in the objective function, you are looking to solve mixed-integer quadratic programming (MIQP) problems. HiGHS cannot solve MIQPs, although it is something we are looking to add, but not in the next 12 months.

Cbc itself cannot solve MIQP problems, but the following discussion may help you

coin-or/Sonnet#3

from quadwild.

fire avatar fire commented on June 11, 2024

Investigating https://github.com/coin-or/Cbc as a replacement for gurobi.

See also https://github.com/ERGO-Code/HiGHS. https://github.com/ERGO-Code/HiGHS/blob/master/examples/call_highs_from_cpp.cpp

from quadwild.

fire avatar fire commented on June 11, 2024

https://gist.github.com/fire/891aa2be44834f24303f4d1c3905aebf Has a sample of using HiGHS as a MILP solver.

from quadwild.

lanxinger avatar lanxinger commented on June 11, 2024

yep same issue here. Gurobi not found:

/home/xxx/quadwild/libs/quadretopology/quadretopology/includes/qr_ilp.h:32: error: gurobi_c++.h: No such file or directory
32 | #include <gurobi_c++.h>
| ^~~~~~~~~~~~~~

from quadwild.

nicopietroni avatar nicopietroni commented on June 11, 2024

good point, we can try CbC soon.. at the moment I don't have any time to try the switch.
but we will certainly try in 3 weeks or so.
thanks for the idea

from quadwild.

fire avatar fire commented on June 11, 2024

According to a popular benchmark Highs is a better solver than CBC so if you’re limited by time, I recommend that one first. What solver do you need?

from quadwild.

nicopietroni avatar nicopietroni commented on June 11, 2024

integer variables with quadratic energy term and linear constraints

from quadwild.

fire avatar fire commented on June 11, 2024

Closing because #1, #14, #8 and this one are duplicates.

from quadwild.

Related Issues (19)

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.