LLuke Marshall* Significant improvements for highspy static typing
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
rename cmake cxx test function | 1 年前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
c cc cpp h hpp | 1 年前 | |
c cc cpp h hpp | 1 年前 | |
add tests to CI | 1 年前 | |
Fix the QP example in `call_highs_from_csharp.cs`. The code was creating a Hessian matrix that did not match the expression given in the comments. The comment says the QP is minimize x_2 + (1/2)(2x_1^2 - 2x_1x_3 + 0.2x_2^2 + 2x_3^2) so the Hessian matrix is [ 2 0 -1] [ 0 0.2 0] [-1 0 2] To create this Hessian, the code that creates the Hessian matrix is changed from int dim = 2; int[] qstart = {0, 2, 3}; int[] qindex = {0, 1, 1}; double[] qvalue = {2, -1, 2}; (which would correspond to the 2x2 matrix Q = [[2, -1], [0, 2]]) to int dim = 3; int[] qstart = {0, 2, 3, 4}; int[] qindex = {0, 1, 1, 2}; double[] qvalue = {2, -1, 0.2, 2}; | 10 个月前 | |
Fixed call_highs_from_fortran and moved definition of row-wise version of matrix and qp_sol for clarity | 3 年前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Cleaned up highspy examples * Added multi-objective example * Added getLinearObjective and getNumLinearObjectives * Added unit tests | 10 个月前 | |
* Cleaned up highspy examples * Added multi-objective example * Added getLinearObjective and getNumLinearObjectives * Added unit tests | 10 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Cleaned up highspy examples * Added multi-objective example * Added getLinearObjective and getNumLinearObjectives * Added unit tests | 10 个月前 | |
* Cleaned up highspy examples * Added multi-objective example * Added getLinearObjective and getNumLinearObjectives * Added unit tests | 10 个月前 | |
Update minimal.py Updated minimal.py (removed test code) | 2 年前 | |
* Cleaned up highspy examples * Added multi-objective example * Added getLinearObjective and getNumLinearObjectives * Added unit tests | 10 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
* Significant improvements for highspy static typing * Fixed issues with examples and tests (found by pyright and mypy) * Added more tests to improve coverage of highspy * Fixed missing Iis details | 4 个月前 | |
Minor correction to nqueens.py Preparing to use this for a demo, I noticed a minor inconsistency. The `axis` kwarg specifies the axis over which to sum, with 0 being rows and 1 being columns. But to get row totals you have to sum over columns, and vice versa. Although the symmetry in this problem means it makes no difference, I thought it'd be better to avoid confusion. | 10 个月前 | |
Formatted | 1 年前 |