New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MOI rewrite using Clang #44
Conversation
chmod -x src/Xpress.jl src/xprs_common.jl src/xprs_env.jl src/xprs_model.jl
functions registered with `finalizer` appear to be called _after_ functions registered with `atexit`
…writesol, save, restore Add addcolnames and addrownames to helper functions Make some function strictly typed
@joaquimg I added the binaries and the code to run the windows tests. It is having issues with the GitHub authentication in windows and after many tests still can't figure out what's needed for the Travis VM to authenticate properly. Will come back to this later |
whe I run: using Xpress, MathOptInterface
MOI = MathOptInterface
MOIT = MathOptInterface.Test
Xpress.initialize()
OPTIMIZER = Xpress.Optimizer()
OPTIMIZER_2 = Xpress.Optimizer()
BRIDGED_OPTIMIZER = MOI.Bridges.full_bridge_optimizer( Xpress.Optimizer(), Float64)
BRIDGED_OPTIMIZER_2 = MOI.Bridges.full_bridge_optimizer(
Xpress.Optimizer(), Float64)
MOIT.copytest(BRIDGED_OPTIMIZER, BRIDGED_OPTIMIZER_2) I get
And infinitely many other lines |
Uh oh. That looks pretty bad and a bug in base Julia. Gurobi only tests copying full-bridged -> Gurobi.Optimizer: I'm at NREL all next week, so I should be able to help them push this PR over the line. |
|
Xpress works just fine in julia: This reminds me of: |
Oh. Then I have no idea. |
New plan:
This would allow Xpress to be used in the latest JuMP/MOI, which enable the broader public to use Xpress.
Then we could have a second (set of) PR(s) with:
This second could be done incrementally by many smaller PR's that people add as needed... and could be done in parallel.
Replaces #43
cc @kdheepak @jd-lara
Lets work on this one?
I will add you to the repo