Giter VIP home page Giter VIP logo

Comments (8)

migarstka avatar migarstka commented on May 18, 2024 1

@blegat The question is if this merging belongs to MOI or should be done by each solver wrapper individually. I guess solvers that support the standard cones do this implicitly by sorting the constraints and then constraining consecutive elements of the constraint primal variable to be in the zero cone, nonnegative orthant, etc... (like SCS)

@chriscoey I'll take a look. Thank you.

Apart from this discussion I still think it would be useful to have the box (higher-dimensional interval
l <= x <= u) as an available constraint set in MOI.

from cosmo.jl.

migarstka avatar migarstka commented on May 18, 2024

#61

from cosmo.jl.

goulart-paul avatar goulart-paul commented on May 18, 2024

#62 instead.

from cosmo.jl.

migarstka avatar migarstka commented on May 18, 2024

Implemented in 6a4d93e
What remains to be done is a merging step for multiple constraints that result in ZeroSet, Nonnegatives or Box when the problem is formulated via MOI

from cosmo.jl.

blegat avatar blegat commented on May 18, 2024

What remains to be done is a merging step for multiple constraints that result in ZeroSet, Nonnegatives or Box when the problem is formulated via MOI

cc @chriscoey I remember you were also interested in having all the Nonnegatives constraint grouped together (but I cannot find the issue in MOI where we discussed it)

from cosmo.jl.

chriscoey avatar chriscoey commented on May 18, 2024

I do this merging in Hypatia. @migarstka I'll add you to the repo

from cosmo.jl.

chriscoey avatar chriscoey commented on May 18, 2024

Hypatia can handle a multidimensional box with a single L_inf norm epigraph (conic) constraint. So there's a question of whether MOI have the box set or the box cone or both

from cosmo.jl.

blegat avatar blegat commented on May 18, 2024

I wouldn't be against adding a multidimensional box. Users may want to model with that (e.g. having the state belong to an hyperrectangle is useful in Control), and solvers supports it so it makes sense to add it to MOI.

Grouping constraints of the same cone together is what is currently done by ECOS, SCS, SeDuMi, CDCS in their wrappers, there is plan to make a utility for that, see jump-dev/MathOptInterface.jl#24 (comment)

from cosmo.jl.

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.