Move docs folder

This commit is contained in:
2020-02-21 11:43:25 -06:00
parent 635c16386d
commit 29d3c7bb9e
59 changed files with 11647 additions and 1 deletions

View File

@@ -1,17 +0,0 @@
# Customization
### Selecting the internal MIP solver
By default, `LearningSolver` uses [Gurobi](https://www.gurobi.com/) as its internal MIP solver. Alternative solvers can be specified through the `internal_solver_factory` constructor argument. This argument should provide a function (with no arguments) that constructs, configures and returns the desired solver. To select CPLEX, for example:
```python
from miplearn import LearningSolver
import pyomo.environ as pe
def cplex_factory():
cplex = pe.SolverFactory("cplex")
cplex.options["threads"] = 4
return cplex
solver = LearningSolver(internal_solver_factory=cplex_factory)
```