Content-Length: 265712 | pFad | http://github.com/jump-dev/CPLEX.jl/commit/c0f46ea2202f60761c04d5c9455881cb72ea49bf

CB Clarify how to set options in README (#436) · jump-dev/CPLEX.jl@c0f46ea · GitHub
Skip to content

Commit c0f46ea

Browse files
authored
Clarify how to set options in README (#436)
1 parent ccde447 commit c0f46ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ List of supported model attributes:
111111

112112
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).
113113

114+
Set options using `JuMP.set_attribute`:
115+
```julia
116+
using JuMP, CPLEX
117+
model = Model(CPLEX.Optimizer)
118+
set_attribute(model, "CPX_PARAM_EPINT", 1e-8)
119+
```
120+
114121
## Callbacks
115122

116123
CPLEX.jl provides a solver-specific callback to CPLEX:

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jump-dev/CPLEX.jl/commit/c0f46ea2202f60761c04d5c9455881cb72ea49bf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy