File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 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
237237end
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
242244You need to set the NonConvex parameter:
243245``` julia
244246model = Model (Gurobi. Optimizer)
245247set_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+ ```
You can’t perform that action at this time.
0 commit comments