Changelog¶
0.5.1¶
Support llvmlite 0.45.0
0.5.0¶
Overhaul of the nonlinear programming interface and now PyOptInterface can solve nonlinear programming problems with COPT, Gurobi and IPOPT.
Use
model.add_linear_constraint(x+y, (1.0, 2.0))to add two-sided linear constraintsAdd
poi.ScalarAffineFunction.from_numpyto create scalar affine functions from numpy arrays quickly
0.4.1¶
Support writing solution files in HiGHS
Pass the names of variables and constraints to HiGHS
Add
model.close()andenv.close()methods to allow users release the license of commercial solvers manually
0.4.0¶
Add
model.add_m_variablesandmodel.add_m_linear_constraintsmatrix modeling APIAdd
model.computeIISand IIS related attributes for constraint and variableImplement constraint based on compare operators, now you can use
model.add_linear_constraint(x + y <= 1.0)directlyDrop support for Python 3.8
Add wheels for Linux ARM64
Supports HiGHS 1.9.0 and Mosek 11
0.3.0¶
Add
model.set_variable_bounds(variable, lb, ub)to make it easier to change variable boundsIntroduce nonlinear programming support of Ipopt
Support new versions of optimizers
Various minor bug fixes
0.2.8¶
Fix bugs in HiGHS and MOSEK when the quadratic objective function contains nondiagonal terms
0.2.7¶
Fix bugs in HiGHS termination status
0.2.6¶
Add rotated second-order cone support for COPT, Gurobi and Mosek
Add exponential cone support for COPT and Mosek
Requires COPT version >= 7.1.4 to support exponential cone
0.2.5¶
Fix
add_linear_constraintof HiGHS optimizer to consider the constant term in expression correctlyMake
make_tupledictslightly faster
0.2.4¶
Add
mapmethod fortupledictclassAdd type stubs for C++ extension modules
0.2.3¶
Fix a bug when deleting constraint in HiGHS
0.2.2¶
Fix the performance issue with HiGHS optimizer
0.2.1¶
Fix the DLL search paths on Windows
0.2.0¶
Supports callback for Gurobi and COPT
Release GIL when calling
model.optimize()
0.1.1¶
Add
Model.writemethod to write model to files
0.1.0¶
First release on PyPI