@@ -100,11 +100,12 @@ julia> main()
100100## Use with JuMP
101101
102102You can also call MiniZinc from JuMP, using any solver that ` libminizinc `
103- supports. For example, if you have Gurobi installed:
103+ supports. By default, MiniZinc.jl is comiled with ` "highs" ` :
104+
104105``` julia
105106using JuMP
106107import MiniZinc
107- model = Model (() -> MiniZinc. Optimizer {Float64} (" gurobi " ))
108+ model = Model (() -> MiniZinc. Optimizer {Float64} (" highs " ))
108109@variable (model, 1 <= x[1 : 3 ] <= 3 , Int)
109110@constraint (model, x in MOI. AllDifferent (3 ))
110111@objective (model, Max, sum (i * x[i] for i in 1 : 3 ))
@@ -114,12 +115,12 @@ optimize!(model)
114115
115116## MathOptInterface API
116117
117- The MiniZinc optimizer supports the following constraints and attributes.
118+ The MiniZinc ` Optimizer{T} ` supports the following constraints and attributes.
118119
119120List of supported objective functions:
120121
121- * [ ` MOI.ObjectiveFunction{MOI.ScalarAffineFunction{Float64 }} ` ] ( @ref )
122- * [ ` MOI.ObjectiveFunction{MOI.ScalarQuadraticFunction{Float64 }} ` ] ( @ref )
122+ * [ ` MOI.ObjectiveFunction{MOI.ScalarAffineFunction{T }} ` ] ( @ref )
123+ * [ ` MOI.ObjectiveFunction{MOI.ScalarQuadraticFunction{T }} ` ] ( @ref )
123124 * [ ` MOI.ObjectiveFunction{MOI.VariableIndex} ` ] ( @ref )
124125
125126List of supported variable types:
@@ -128,31 +129,31 @@ List of supported variable types:
128129
129130List of supported constraint types:
130131
131- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.EqualTo{Float64 } ` ] ( @ref )
132- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.GreaterThan{Float64 } ` ] ( @ref )
133- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.Integer ` ] ( @ref )
134- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.Interval{Float64 } ` ] ( @ref )
135- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.LessThan{Float64 } ` ] ( @ref )
136- * [ ` MOI.ScalarAffineFunction{Float64 } ` ] ( @ref ) in [ ` MOI.ZeroOne ` ] ( @ref )
137- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.EqualTo{Float64 } ` ] ( @ref )
138- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.GreaterThan{Float64 } ` ] ( @ref )
132+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.EqualTo{T } ` ] ( @ref )
133+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.GreaterThan{T } ` ] ( @ref )
134+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.Integer ` ] ( @ref )
135+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.Interval{T } ` ] ( @ref )
136+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.LessThan{T } ` ] ( @ref )
137+ * [ ` MOI.ScalarAffineFunction{T } ` ] ( @ref ) in [ ` MOI.ZeroOne ` ] ( @ref )
138+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.EqualTo{T } ` ] ( @ref )
139+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.GreaterThan{T } ` ] ( @ref )
139140 * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Integer ` ] ( @ref )
140- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Interval{Float64 } ` ] ( @ref )
141- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.LessThan{Float64 } ` ] ( @ref )
142- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Parameter{Float64 } ` ] ( @ref )
143- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Semicontinuous{Float64 } ` ] ( @ref )
144- * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Semiinteger{Float64 } ` ] ( @ref )
141+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Interval{T } ` ] ( @ref )
142+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.LessThan{T } ` ] ( @ref )
143+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Parameter{T } ` ] ( @ref )
144+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Semicontinuous{T } ` ] ( @ref )
145+ * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.Semiinteger{T } ` ] ( @ref )
145146 * [ ` MOI.VariableIndex ` ] ( @ref ) in [ ` MOI.ZeroOne ` ] ( @ref )
146147 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.AllDifferent ` ] ( @ref )
147- * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.BinPacking{Float64 } ` ] ( @ref )
148+ * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.BinPacking{T } ` ] ( @ref )
148149 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.Circuit ` ] ( @ref )
149150 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.CountAtLeast ` ] ( @ref )
150151 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.CountBelongs ` ] ( @ref )
151152 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.CountDistinct ` ] ( @ref )
152153 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.CountGreaterThan ` ] ( @ref )
153154 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.Cumulative ` ] ( @ref )
154155 * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.Path ` ] ( @ref )
155- * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.Table{Float64 } ` ] ( @ref )
156+ * [ ` MOI.VectorOfVariables ` ] ( @ref ) in [ ` MOI.Table{T } ` ] ( @ref )
156157
157158List of supported model attributes:
158159
0 commit comments