Comments (15)
Basic tests for Variable, AffExpr, and QuadExpr done - see output for a TODO.
Next step is operator overload testing - need lots of * and / and quadratic stuff to give it a good workout. I found my QuadExpr test, which is just testing string-ifying, caught a bug already!
from jump.jl.
I added some functionality to efficiently merge duplicate coefficients, if you'd like to take a look to do a similar thing for printing.
from jump.jl.
Todo: test coverage for 8ede799 -like issues
from jump.jl.
I added some of this in 1f3a192. I wouldn't call it complete though.
from jump.jl.
Nice - maybe I'm missing it, but does it have the test that caused the bug you fixed recently, the one where the indexing was dependent e.g. i=1:N, j=1:i
from jump.jl.
No, it doesn't.
from jump.jl.
Just added: cb2d793.
from jump.jl.
👍
from jump.jl.
Doing pretty good now. Constraints could probably do with more test coverage, I think a couple of unit tests each for MPS and LP just to ensure we don't accidently introduce bugs would be good. Then I guess whatever random models we come up for those, also run them through solve. Once thats done, I'd be willing to close this issue, with the idea that we be from now on, so a) no pushing without running tests, and b) once we start adding stuff, e.g. quadratic, duals, we update/add tests
I don't really care too much about TravisCI integration, its probably not worth it.
from jump.jl.
Sounds like a plan.
from jump.jl.
Actually, it might be helpful to have TravisCI integration especially if we're testing with different solvers. This way, issues with Clp and CoinMP packages will also show up. Not high priority, but definitely useful.
from jump.jl.
Oh yeah, good point. A test for the wider infrastructure!
from jump.jl.
Added Travis-CI stuff
HOWEVER
its failing write now because of JuliaLang/julia#3464 - hopefully that'll be fixed in the next nightly
from jump.jl.
Once you consider constraints, and we add tests, I'd be keen to close this issue. We can add tests for quadratic objective as we go.
from jump.jl.
The travis build passes now, and constraints are a separate issue, so let's close this.
from jump.jl.
Related Issues (20)
- 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
- Model printing is rather verbose HOT 5
- Diagnostics request: using variable in variable container bounds HOT 4
- && and || do not short-circuit in macros HOT 3
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.