在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:scipopt/SCIP.jl开源软件地址:https://github.com/scipopt/SCIP.jl开源编程语言:Julia 100.0%开源软件介绍:SCIP.jlJulia interface to the SCIP solver. See NEWS.md for changes in each (recent) release. Update (April 2022)Due to breaking changes, only SCIP 8 is supported by the wrapper on version 0.11 onwards. Update (August 2020)On MacOS and Linux, it is no longer required to install the SCIP binaries using this package. There now exists a BinaryBuilder.jl generated package SCIP_jll.jl and SCIP_PaPILO_jll.jl which is installed automatically as a dependency. On Windows, the separate installation of SCIP is still mandatory, otherwise, you can use this default installation: pkg> add SCIP If you use an older Julia version, Windows or want a custom SCIP installation, see below for the build steps. Custom SCIP installations.If you prefer to link to your own installation of SCIP, please set the
environment variable When this is set before you install this package, it should be recognized automatically. Afterwards, you can trigger the build with pkg> build SCIP Setting ParametersThere are two ways of setting the parameters
(all are supported). First,
using using MOI
using SCIP
optimizer = SCIP.Optimizer()
MOI.set(optimizer, MOI.RawOptimizerAttribute("display/verblevel"), 0)
MOI.set(optimizer, MOI.RawOptimizerAttribute("limits/gap"), 0.05) Second, as keyword arguments to the constructor. But here, the slashes ( using MOI
using SCIP
optimizer = SCIP.Optimizer(display_verblevel=0, limits_gap=0.05) Note that in both cases, the correct value type must be used
(here, Design ConsiderationsWrapper of Public API: All of SCIP's public API methods are wrapped and
available within the Memory Management: Programming with SCIP requires dealing with variable and
constraints objects that use reference
counting for memory management.
The Supported Features for MathOptInterface: We aim at exposing many of SCIP's features through MathOptInterface. However, the focus is on keeping the wrapper simple and avoiding duplicate storage of model data. As a consequence, we do not currently support some features such as retrieving
constraints by name ( Support for more constraint types (quadratic, SOS1/2, nonlinear expression) is implemented, but SCIP itself only supports affine objective functions, so we will stick with that. More general objective functions could be implented via a bridge. Supported operators in nonlinear expressions are as follows:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论