Giter Club home page Giter Club logo

Comments (9)

IainNZ avatar IainNZ commented on May 16, 2024

On the 2nd point, do you mean we should just having a m.quadObj and m.affObj, and m.quadObj can be nothing?

from jump.jl.

mlubin avatar mlubin commented on May 16, 2024

m.quadObj should always be a QuadExpr (but it can have zero terms), and m.affObj should always be an AffExpr.

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

Operator overloads are done, I think. Needs testing to ensure that though.
See notes in QuadExpr test with regards to the issue of Q being symmetric or lower triangular. I guess this can really just be done at the end, but maybe we should cram it into pretty printers. Very low priority.

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

I also renamed some of the fields of QuadExpr to make it less verbose and camel-casey

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

About to tackle point 2

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

Ok, done, I think. Tests pass, but we don't have a quadratic objective test yet!
ba0ba53
Basically, removed objective and quadObj and isObjQuad and just have a single objective field that is a QuadExpr (and thus has an AffExpr in it). From then on was just a matter of replacing isQuadObjs with length checks on quadratic part of objective.

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

Do you want to do point 3? I see you've started on it. If not, I'll do it.

from jump.jl.

mlubin avatar mlubin commented on May 16, 2024

Done. All that's left is macro support, but I'm not sure if I'll get to that in the short term.

from jump.jl.

IainNZ avatar IainNZ commented on May 16, 2024

Future work then - I don't think its a priority

from jump.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.