Code Monkey home page Code Monkey logo

Comments (6)

h-g-s avatar h-g-s commented on May 31, 2024

it should work with the new release 1.6 (released today), could you please check ?

from python-mip.

stefanhannie avatar stefanhannie commented on May 31, 2024

I think I'm still having the issue:

Welcome to the CBC MILP Solver 
Version: Trunk
Build Date: Nov 29 2019 

Starting solution of the Linear programming relaxation problem using Primal Simplex

Coin0506I Presolve 4548 (0) rows, 3136 (0) columns and 31552 (0) elements
Clp1000I sum of infeasibilities 5.43786e-07 - average 1.19566e-10, 632 fixed columns
Coin0506I Presolve 4548 (0) rows, 2504 (-632) columns and 11984 (-19568) elements
Clp0000I Optimal - objective value 8
Clp0000I Optimal - objective value 8
Coin0511I After Postsolve, objective 8, infeasibilities - dual 0 (0), primal 0 (0)
Clp0000I Optimal - objective value 8
Clp0000I Optimal - objective value 8
Clp0000I Optimal - objective value 8
Clp0032I Optimal objective 8 - 0 iterations time 0.212, Idiot 0.21

Starting MIP optimization
No match for max_solutions - ? for list of commands

from python-mip.

h-g-s avatar h-g-s commented on May 31, 2024

from python-mip.

stefanhannie avatar stefanhannie commented on May 31, 2024

Nice! Thanks for the working example. Your method above works for me.

What I was doing is still not working though. I was calling

m = mip.Model()
m.optimize(max_solutions=1)

Sorry. I should have put that at the beginning of the issue.

from python-mip.

h-g-s avatar h-g-s commented on May 31, 2024

from python-mip.

stefanhannie avatar stefanhannie commented on May 31, 2024

Works! Thanks for the fix.

from python-mip.

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.