Comments (9)
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.
m.quadObj
should always be a QuadExpr
(but it can have zero terms), and m.affObj
should always be an AffExpr
.
from jump.jl.
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.
I also renamed some of the fields of QuadExpr to make it less verbose and camel-casey
from jump.jl.
About to tackle point 2
from jump.jl.
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.
Do you want to do point 3? I see you've started on it. If not, I'll do it.
from jump.jl.
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.
Future work then - I don't think its a priority
from jump.jl.
Related Issues (20)
- Multiplying JuMP expression with UniformScaling absorbs the matrix HOT 7
- Provide better error message for Vector+VariableRef HOT 2
- `variable_ref_type` induces `StackOverFlowError`
- Starting values for constant expression HOT 4
- Type instability in `set_normalized_rhs` HOT 4
- Add standard_form_matrix
- Truncate printing expressions if they are very large
- Operator with vector arguments HOT 1
- MethodError: Cannot `convert` an object of type NonlinearExpr to an object of type Float64 HOT 5
- MethodError: no method matching `_build_indicator_constraint(<...>)` HOT 1
- MethodError: no method matching `isless(::Int64, ::QuadExpr)` / `isless(::VariableRef, ::QuadExpr)` HOT 1
- [Containers] implement multi-arg `eachindex` HOT 4
- Failed to generate a custom sysimage for JuMP HOT 8
- Improve LaTeX Printing for `GenericNonlinearExpr`s HOT 1
- Performance downgrade in solving optimal control problems(OCP) HOT 6
- shorthand for GenericAffExpr{T, GenericVariableRef{T}}) HOT 5
- Why I can't read nl file with other solver HOT 3
- Constraint macro modifies expression HOT 2
- @variable macro fails to resolve variables in 1.18.0 HOT 2
- jump.dev is down HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jump.jl.