You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _sources/gurobi.md.txt
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,18 @@ env.start()
29
29
model = gurobi.Model(env)
30
30
```
31
31
32
+
For users who want to release the license immediately after the optimization, you can call the `close` method of all models created and the `gurobi.Env` object. It applies to other commercial solvers supported as well.
<h1>Changelog<aclass="headerlink" href="#changelog" title="Link to this heading">¶</a></h1>
288
288
<sectionid="id1">
289
-
<h2>0.4.0<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
289
+
<h2>0.4.1<aclass="headerlink" href="#id1" title="Link to this heading">¶</a></h2>
290
+
<ulclass="simple">
291
+
<li><p>Support writing solution files in HiGHS</p></li>
292
+
<li><p>Pass the names of variables and constraints to HiGHS</p></li>
293
+
<li><p>Add <codeclass="docutils literal notranslate"><spanclass="pre">model.close()</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">env.close()</span></code> methods to allow users release the license of commercial solvers manually</p></li>
294
+
</ul>
295
+
</section>
296
+
<sectionid="id2">
297
+
<h2>0.4.0<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
<li><p>Add <codeclass="docutils literal notranslate"><spanclass="pre">model.computeIIS</span></code> and IIS related attributes for constraint and variable</p></li>
@@ -296,82 +304,82 @@ <h2>0.4.0<a class="headerlink" href="#id1" title="Link to this heading">¶</a></
296
304
<li><p>Supports HiGHS 1.9.0 and Mosek 11</p></li>
297
305
</ul>
298
306
</section>
299
-
<sectionid="id2">
300
-
<h2>0.3.0<aclass="headerlink" href="#id2" title="Link to this heading">¶</a></h2>
307
+
<sectionid="id3">
308
+
<h2>0.3.0<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h2>
301
309
<ulclass="simple">
302
310
<li><p>Add <codeclass="docutils literal notranslate"><spanclass="pre">model.set_variable_bounds(variable,</span><spanclass="pre">lb,</span><spanclass="pre">ub)</span></code> to make it easier to change variable bounds</p></li>
303
311
<li><p>Introduce nonlinear programming support of Ipopt</p></li>
304
312
<li><p>Support new versions of optimizers</p></li>
305
313
<li><p>Various minor bug fixes</p></li>
306
314
</ul>
307
315
</section>
308
-
<sectionid="id3">
309
-
<h2>0.2.8<aclass="headerlink" href="#id3" title="Link to this heading">¶</a></h2>
316
+
<sectionid="id4">
317
+
<h2>0.2.8<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
310
318
<ulclass="simple">
311
319
<li><p>Fix bugs in HiGHS and MOSEK when the quadratic objective function contains nondiagonal terms</p></li>
312
320
</ul>
313
321
</section>
314
-
<sectionid="id4">
315
-
<h2>0.2.7<aclass="headerlink" href="#id4" title="Link to this heading">¶</a></h2>
322
+
<sectionid="id5">
323
+
<h2>0.2.7<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h2>
316
324
<ulclass="simple">
317
325
<li><p>Fix bugs in HiGHS termination status</p></li>
318
326
</ul>
319
327
</section>
320
-
<sectionid="id5">
321
-
<h2>0.2.6<aclass="headerlink" href="#id5" title="Link to this heading">¶</a></h2>
328
+
<sectionid="id6">
329
+
<h2>0.2.6<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h2>
322
330
<ulclass="simple">
323
331
<li><p>Add rotated second-order cone support for COPT, Gurobi and Mosek</p></li>
324
332
<li><p>Add exponential cone support for COPT and Mosek</p></li>
325
333
<li><p>Requires COPT version >= 7.1.4 to support exponential cone</p></li>
326
334
</ul>
327
335
</section>
328
-
<sectionid="id6">
329
-
<h2>0.2.5<aclass="headerlink" href="#id6" title="Link to this heading">¶</a></h2>
336
+
<sectionid="id7">
337
+
<h2>0.2.5<aclass="headerlink" href="#id7" title="Link to this heading">¶</a></h2>
330
338
<ulclass="simple">
331
339
<li><p>Fix <codeclass="docutils literal notranslate"><spanclass="pre">add_linear_constraint</span></code> of HiGHS optimizer to consider the constant term in expression correctly</p></li>
<p>For users who want to release the license immediately after the optimization, you can call the <codeclass="docutils literal notranslate"><spanclass="pre">close</span></code> method of all models created and the <codeclass="docutils literal notranslate"><spanclass="pre">gurobi.Env</span></code> object. It applies to other commercial solvers supported as well.</p>
<h2>The capability of <codeclass="docutils literal notranslate"><spanclass="pre">gurobi.Model</span></code><aclass="headerlink" href="#the-capability-of-gurobi-model" title="Link to this heading">¶</a></h2>
0 commit comments