Skip to content
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

support more Xpress control parameters #90

Closed
NLaws opened this issue Jul 1, 2020 · 1 comment · Fixed by #100
Closed

support more Xpress control parameters #90

NLaws opened this issue Jul 1, 2020 · 1 comment · Fixed by #100

Comments

@NLaws
Copy link
Contributor

NLaws commented Jul 1, 2020

It appears that some of the Xpress control parameters are not currently supported in MOI_wrapper.jl. It would be nice to have access to these parameters via the JuMP interface. For example:

ERROR: LoadError: KeyError: key "MAXMEMORYSOFT" not found
Stacktrace:
 [1] getindex(::Dict{String,Any}, ::String) at ./dict.jl:477
 [2] set(::Xpress.Optimizer, ::MathOptInterface.RawParameter, ::Int64) at /home/deploy/.julia/packages/Xpress/weWYC/src/MOI/MOI_wrapper.jl:459
 [3] Xpress.Optimizer(; kwargs::Base.Iterators.Pairs{Symbol,Int64,NTuple{5,Symbol},NamedTuple{(:MAXTIME, :OUTPUTLOG, :RESOURCESTRATEGY, :MAXMEMORYSOFT, :TREEMEMORYLIMIT),NTuple{5,Int64}}}) at /home/deploy/.julia/packages/Xpress/weWYC/src/MOI/MOI_wrapper.jl:248
@joaquimg
Copy link
Member

You can get the definition from the C header file and append to: https://github.com/jump-dev/Xpress.jl/blob/master/src/common.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants