Skip to content

Commit

Permalink
Clarify how to set options in README (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Sep 11, 2023
1 parent ccde447 commit c0f46ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ List of supported model attributes:

Options match those of the C API in the [CPLEX documentation](https://www.ibm.com/support/knowledgecenter/SSSA5P_12.10.0/ilog.odms.cplex.help/CPLEX/Parameters/topics/introListAlpha.html).

Set options using `JuMP.set_attribute`:
```julia
using JuMP, CPLEX
model = Model(CPLEX.Optimizer)
set_attribute(model, "CPX_PARAM_EPINT", 1e-8)
```

## Callbacks

CPLEX.jl provides a solver-specific callback to CPLEX:
Expand Down

0 comments on commit c0f46ea

Please sign in to comment.