Skip to content

jump-dev/MathOptLazy.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathOptLazy.jl

Build Status codecov

MathOptLazy.jl is an experimental meta-solver for problems with lazy constraints.

License

MathOptLazy.jl is licensed under the MIT License.

Getting help

If you need help, please ask a question on the JuMP community forum.

If you have a reproducible example of a bug, please open a GitHub issue.

Installation

Install MathOptLazy using Pkg.add:

import Pkg
Pkg.add("MathOptLazy")

Use with JuMP

Use MathOptLazy.jl with JuMP as follows:

using JuMP
import HiGHS
import MathOptLazy
model = Model(() -> MathOptLazy.Optimizer(HiGHS.Optimizer))
@variable(model, x[1:10] >= 0)
@constraint(model, [i in 1:10], x[i] <= 1, MathOptLazy.Lazy())

Algorithm

Control the algorithm used to handle the lazy constraints by setting the MathOptLazy.Algorithm attribute. See the docstring for details. The supoprted values are:

  • MathOptLazy.Iterative() [default]
  • MathOptLazy.Callback()

See their docstrings for details.

About

A Julia package for working with lazy constraints in JuMP and MathOptInterface

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages