Commit 3ee3e37 1 parent 2a279d2 commit 3ee3e37 Copy full SHA for 3ee3e37
File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -237,10 +237,25 @@ for i = 1:100
237
237
end
238
238
```
239
239
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 ` ?
241
243
242
244
You need to set the NonConvex parameter:
243
245
``` julia
244
246
model = Model (Gurobi. Optimizer)
245
247
set_optimizer_attribute (model, " NonConvex" , 2 )
246
248
```
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
+ ```
You can’t perform that action at this time.
0 commit comments