Name: MathOptInterfaceBridges.jl
Owner: JuliaOpt
Description: Constraint Bridges for MathOptInterface
Created: 2017-07-20 10:37:22.0
Updated: 2018-04-17 15:47:02.0
Pushed: 2018-04-17 15:47:00.0
Size: 240
Language: Julia
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
| Build Status | |:—————-:| | | | |
Constraint Bridges for packages which build on-top-of MathOptInterface (such as JuMP).
For example, with the SplitIntervalBridge
, one can create an optimizer layer bridging the constraints ScalarAffineFunction
-in-Interval
as follows:
t MOIB = MathOptInterfaceBridges
dge SplitInterval MOIB.SplitIntervalBridge () (Interval,) () () () (ScalarAffineFunction,) () ()
Given an optimizer optimizer
implementing ScalarAffineFunction
-in-GreaterThan
and ScalarAffineFunction
-in-LessThan
, the optimizer
gedoptimizer = SplitInterval(optimizer)
will additionally support ScalarAffineFunction
-in-Interval
.