Skip to content

Commit 3ee3e37

Browse files
Adding documentation about Gurobi Error 1009. (#499)
1 parent 2a279d2 commit 3ee3e37

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,25 @@ for i = 1:100
237237
end
238238
```
239239

240-
## Using Gurobi v9.0 and you got an error like `Q not PSD`?
240+
## Common errors
241+
242+
### Using Gurobi v9.0 and you got an error like `Q not PSD`?
241243

242244
You need to set the NonConvex parameter:
243245
```julia
244246
model = Model(Gurobi.Optimizer)
245247
set_optimizer_attribute(model, "NonConvex", 2)
246248
```
249+
250+
### Gurobi Error 1009: Version number is XX.X, license is for version XX.X
251+
252+
First, please make sure that your license is correct for your Gurobi version.
253+
See the [Gurobi documentation](https://support.gurobi.com/hc/en-us/articles/360034784572-How-do-I-check-for-a-valid-license-file-)
254+
for details.
255+
256+
Once you are sure that the license and Gurobi versions match, re-install
257+
Gurobi.jl by running:
258+
```julia
259+
import Pkg
260+
Pkg.build("Gurobi")
261+
```

0 commit comments

Comments
 (0)