Comments (17)
I don't think these model modification routines have ever worked, see #17
from mosek.jl.
Ahh, ok. They are just going to keep using Gurobi in mean time.
from mosek.jl.
The error confuses me because it says m.varmap[i]
on that line, so not sure where the comparison is coming from
from mosek.jl.
set(constr|var)(UB|LB)
should work now (in head revision).
from mosek.jl.
Mosek is still failing JuMP's tests here:
[probmod] Testing problem modification basics
- With solver GurobiSolver
- With solver CplexSolver
- With solver MosekSolver
putconboundlist: [1],Int32[1]
Int32[1]
[-1.0e30]
[3.0]
0 1 3 4
Failure :: (line:-1) :: With solver MosekSolver :: Expected: 2.0 ≅ 0.0
getValue(x) --> roughly(0.0,TOL)
Failure :: (line:-1) :: With solver MosekSolver :: Expected: 5.0 ≅ 2.0
getValue(z) --> roughly(2.0,TOL)
Failure :: (line:-1) :: With solver MosekSolver :: Expected: 503.2 ≅ 201.0
getObjectiveValue(m) --> roughly(201.0,TOL)
putconboundlist: [1],Int32[1]
Int32[1]
[-1.0e30]
[3.0]
0 1 3 4
Failure :: (line:-1) :: With solver MosekSolver :: Expected: 3.0 ≅ 1.0
getValue(x) --> roughly(1.0,TOL)
- With solver ClpSolver
- With solver GLPKSolverLP
- With solver IpoptSolver
WARNING: Solver does not appear to support adding variables to an existing model. Hot-start is disabled.
WARNING: Solver does not appear to support hot-starts. Model will be built from scratch.
- With solver ECOSSolver
- With solver SCSSolver
Out of 104 total facts:
Verified: 100
Failed: 4
from mosek.jl.
I'll take a look.
from mosek.jl.
All MathProgBase tests should pass now. There are still failing JuMP tests; one that looked like a sign problem, one that was a precision problem, some GECO problems that was probably the solver failing to find a solution/certificate and some I couldn't determine.
from mosek.jl.
Thanks for taking a look. We can address the issues one by one, but I'm still getting a failure on the problem modification test (same as above).
from mosek.jl.
That should be fixed now. 11 Fails remaining in Jump tests.
from mosek.jl.
Remaining Fails in JuMP:
[model] Test solving an LP (Min)
: sign problem. I am not sure if the test is wrong or the interface is wrong, but all mathprogbase tests on this subject should pass now.[model] Test vectorized model creation
: Precision problem, probably due to MIP solutions having feasibility/optimality tolerances in the order of 1e-2. Also, not that testing on solution values (especially) for MIP can be unreliable.
from mosek.jl.
The dual tests should be correct; the mathprogbase tests aren't as comprehensive as the JuMP tests (and all of the other solvers pass both mathprogbase and JuMP).
CC @joehuchette for the tolerance issue
from mosek.jl.
I think all sign errors have been fixed in Mosek.
I am not entirely certain about signs on infeasibility rays.
from mosek.jl.
The tolerance issue should be an easy fix
from mosek.jl.
Is there a Mosek parameter we can set to tighten tolerances and get the test passing?
from mosek.jl.
In general, look for any double parameter containing _TOL_
.
For the integer problem, I suggest you try to look at MSK_DPAR_MIO_TOL_ABS_RELAX_INT
, MSK_DPAR_MIO_TOL_REL_GAP
and MSK_DPAR_MIO_TOL_ABS_GAP
.
Tolerances may not fix the problem: The solution of different solvers may all be within tolerances,but still differ substantially. If you know the analytical optimal solution, you can test that each constraint is within tolerance, that each integer variable is within tolerance and that the objective less than the analytical objective+eps.
from mosek.jl.
Hopefully we're not testing a problem with multiple optimal solutions
from mosek.jl.
This should be fixed by 5ddc4f8
from mosek.jl.
Related Issues (20)
- unable to install mosek in julia HOT 4
- transfer to jump-dev org? HOT 10
- Is MSK_toconic available in the Julia API? HOT 4
- How do you swap out the CVXOPT solver for MOSEK in python? HOT 1
- Kernel death on maketask() HOT 2
- MOSEK with GitHub action? HOT 6
- support for Mosek version 9.3 HOT 4
- TagBot trigger issue HOT 40
- dear author,i am in trouble with following problem? Could you give me some instructions? HOT 2
- Bug in putbaraijlist HOT 2
- MOI.OPTIMAL status but infeasible solution HOT 7
- Issue precompiling Mosek v1.2.2 HOT 3
- Addition of 1 to float values HOT 1
- Platform not supported HOT 1
- Platform not supported HOT 1
- Mosek autodownload broken on 1.8rc1? HOT 5
- `getlasterrormsg` missing HOT 1
- Is there coordinated release plans for Mosek.jl/MosekTools.jl to support Mosek 10?
- getaccgvector returns zero vector HOT 4
- Segfault with starting values HOT 4
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 mosek.jl.