Skip to content

Commit

Permalink
Update manual install instructions in README (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jun 17, 2024
1 parent ff0047c commit e89ccd7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You do not need to install Gurobi separately.

### Manual installation

To opt-out of using the Gurobi_jll binaries, set the `GUROBI_HOME` environment
To opt-out of using the `Gurobi_jll` binaries, set the `GUROBI_HOME` environment
variable to point to your local installation and set the
`GUROBI_JL_USE_GUROBI_JLL` environment variable to `"false"`, then run
`Pkg.add` and `Pkg.build`:
Expand All @@ -83,6 +83,10 @@ Pkg.add("Gurobi")
Pkg.build("Gurobi")
```

To change the location of a manual install, change the value of `GUROBI_HOME`,
re-run `Pkg.build("Gurobi")`, and then re-start Julia for the change to take
effect.

## Use with JuMP

To use Gurobi with JuMP, use `Gurobi.Optimizer`:
Expand Down

0 comments on commit e89ccd7

Please sign in to comment.