Skip to content

Commit

Permalink
Merge pull request #167 from NLaws/nl/controlparams
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimg authored Aug 26, 2022
2 parents bc76f7d + 9d3844c commit 5adbcc0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/MOI/MOI_wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,8 @@ function reset_message_callback(model)
removecbmessage(model.inner, C_NULL, C_NULL)
model.message_callback = nothing
end
if Sys.iswindows() && # is win
model.inner.logfile == "" && # no file -> screen
model.log_level != 0 # has log
if model.inner.logfile == "" && # no file -> screen
model.log_level != 0 # has log
model.message_callback = setoutputcb!(model.inner, model.show_warning)
end
end
Expand Down
25 changes: 19 additions & 6 deletions src/attributes_controls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
File automatically generated with script:
Xpress.jl/scripts/build_param_control_dicts.jl
Last build: 2021-10-03T23:26:18.954
Last build: 2022-05-12T16:11:57.623
Optimizer version: 38.1.4
Optimizer version: 40.1.1
Banner from lib:
FICO Xpress Solver 64bit v8.12.3 Jul 21 2021
(c) Copyright Fair Isaac Corporation 1983-2020. All rights reserved
FICO Xpress Solver 64bit v8.14.0 Apr 22 2022
(c) Copyright Fair Isaac Corporation 1983-2022. All rights reserved
Banner from header (xprs.h):
* (c) Copyright Fair Isaac Corporation 1983-2021. All rights reserved *
* For FICO Xpress Optimizer v38.01.04 *
* (c) Copyright Fair Isaac Corporation 1983-2022. All rights reserved *
* For FICO Xpress Optimizer v40.01.01 *
=#

Expand Down Expand Up @@ -101,6 +101,8 @@ const DOUBLE_CONTROLS = Dict{String, Int32}(
"NODEPROBINGEFFORT" => 7141,
"INPUTTOL" => 7143,
"MIPRESTARTFACTOR" => 7145,
"BAROBJPERTURB" => 7146,
"CPIALPHA" => 7149,
)

const INTEGER_CONTROLS = Dict{String, Int32}(
Expand Down Expand Up @@ -243,6 +245,7 @@ const INTEGER_CONTROLS = Dict{String, Int32}(
"TREECOMPRESSION" => 8243,
"TREEDIAGNOSTICS" => 8244,
"MAXGLOBALFILESIZE" => 8245,
"PRECLIQUESTRATEGY" => 8247,
"REPAIRINFEASMAXTIME" => 8250,
"IFCHECKCONVEXITY" => 8251,
"PRIMALUNSHIFT" => 8252,
Expand Down Expand Up @@ -323,6 +326,7 @@ const INTEGER_CONTROLS = Dict{String, Int32}(
"COMPUTE" => 8411,
"NETSTALLLIMIT" => 8412,
"SERIALIZEPREINTSOL" => 8413,
"NUMERICALEMPHASIS" => 8416,
"PWLNONCONVEXTRANSFORMATION" => 8420,
"MIPCOMPONENTS" => 8421,
"MIPCONCURRENTNODES" => 8422,
Expand All @@ -335,7 +339,11 @@ const INTEGER_CONTROLS = Dict{String, Int32}(
"COMPUTEMATX_IISMAXTIME" => 8430,
"BARREFITER" => 8431,
"COMPUTELOG" => 8434,
"SIFTPRESOLVEOPS" => 8435,
"ESCAPENAMES" => 8440,
"IOTIMEOUT" => 8442,
"MAXSTALLTIME" => 8443,
"AUTOCUTTING" => 8446,
"EXTRAELEMS" => 8006,
"EXTRAPRESOLVE" => 8037,
"EXTRASETELEMS" => 8191,
Expand Down Expand Up @@ -374,6 +382,8 @@ const DOUBLE_ATTRIBUTES = Dict{String, Int32}(
"MAXKAPPA" => 2098,
"TREECOMPLETION" => 2104,
"PREDICTEDATTLEVEL" => 2105,
"OBSERVEDPRIMALINTEGRAL" => 2106,
"CPISCALEFACTOR" => 2117,
"BARPRIMALOBJ" => 4001,
"BARDUALOBJ" => 4002,
"BARPRIMALINF" => 4003,
Expand Down Expand Up @@ -450,6 +460,8 @@ const INTEGER_ATTRIBUTES = Dict{String, Int32}(
"ORIGINALPWLS" => 1336,
"ORIGINALGENCONS" => 1338,
"COMPUTEEXECUTIONS" => 1356,
"MIPSOLTIME" => 1371,
"RESTARTS" => 1381,
"BARITER" => 5001,
"BARDENSECOL" => 5004,
"BARCROSSOVER" => 5005,
Expand All @@ -469,6 +481,7 @@ const INTEGER_ATTRIBUTES = Dict{String, Int32}(
"ORIGINALPWLPOINTS" => 1337,
"ORIGINALGENCONCOLS" => 1339,
"ORIGINALGENCONVALS" => 1340,
"MEMORYLIMITDETECTED" => 1380,
"BARAASIZE" => 5002,
"BARLSIZE" => 5003,
)
Expand Down

2 comments on commit 5adbcc0

@joaquimg
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/67284

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.15.2 -m "<description of version>" 5adbcc0631c3b67d6f3ab32c69109f5190b43d37
git push origin v0.15.2

Please sign in to comment.