Comments (7)
Should we say that the newest Mosek.jl only supports the latest Mosek?
Yes, that's certainly reasonable for now.
Is there a way to automatically force redownload, even if the url has not changed (but the actual file has)?
Not really, I've been complaining about this for quite a long time: JuliaPackaging/BinDeps.jl#26. What you can do is add a validator for the library that checks if the version is correct (e.g, https://github.com/JuliaOpt/GLPK.jl/blob/master/deps/build.jl#L11) and then print a useful error message instructing users to remove old directory in the case where an old library is found.
from mosek.jl.
I have gone over the install script and simplified it a lot: Instead of unpacking and copying the libraries, I managed to just let the library path point to the right place. This means that I can add aliases for both 7.0 and 7.1 libraries, without knowing which actual libraries are present, which in turn means that it will work, even if you do not update the mosek binaries to 7.1. When we get to Mosek 8.0 we will switch the installer to 8.0 and require binaries to be updated.
I think the best way to fix the distro re-download problem is to write a relacement for BinDeps' download-and-unpack functionality (basically: let the downloader save a timestamp, when rebuilding, fetch the timestamp and compare to the old, re-download if not up to date). Should be simple enough.
from mosek.jl.
Sounds good! You shouldn't feel tied to using BinDeps. It has a number of significant limitations, and we've moved away from it entirely in the Gurobi wrapper.
from mosek.jl.
You could try something like the tag-file approach that Steven Johnson is using in his small Blosc package: https://github.com/stevengj/Blosc.jl/blob/master/deps/build.jl
from mosek.jl.
Bumping this becouse Mosek 8 is out now. :-)
from mosek.jl.
I will see if I can get the tagging scheme to work.
I will probably also stop supporting other MOSEK versions that the newest in main branch.
from mosek.jl.
The build script now writes a file under deps/
with the version of the currently installed MOSEK distro. Running Pkg.build("Mosek")
again will check this against the latest version online and re-download if necessary.
If you use an external MOSEK that was not initially installed by the build script, new versions will not be downloaded.
from mosek.jl.
Related Issues (20)
- 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
- Can't build on Windows "no method matching hasregistrykey" HOT 3
- Install Mosek v10.0.2 failed
- Failing to Install Mosek HOT 1
- TagBot issue HOT 1
- v10.1.2: Incremental compilation may be fatally broken
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.