Solving exception of Highs
solver #15
-
Hi, When i use
Below i show a part of logs for
Coefficient ranges: Matrix [4e-04, 1e+06] Cost [1e+00, 1e+00] Bound [0e+00, 0e+00] RHS [0e+00, 0e+00] Presolving model 83252 rows, 68936 cols, 228318 nonzeros 0s 42692 rows, 28376 cols, 164746 nonzeros 0s 42670 rows, 28339 cols, 146459 nonzeros 0s Presolve : Reductions: rows 42670(-395723); columns 28339(-328753); elements 146459(-819124) Solving the presolved LP Solving the original LP from the solution after postsolve Model status : Optimal Objective value : 0.0000000000e+00 HiGHS run time : 0.39
Solved with primal simplex Iteration Objective Primal Inf. Dual Inf. Time 582540 1.0538306e+11 0.000000e+00 0.000000e+00 121s Solved in 582540 iterations and 121.15 seconds (286.16 work units) Optimal objective 1.053830552e+11
Primal simplex reoptimization started. ITER DEGITER(%) PFEAS DFEAS POBJ DOBJ TIME 0 0.00 0.00e+00 NA 1.053830552479e+11 NA 0.01 162 99.39 0.00e+00 NA 1.053830552479e+11 NA 0.05 Primal simplex reoptimization terminated. Time: 0.05 Simplex reoptimization terminated. Time: 0.07 Basis identification terminated. Time: 0.69 Optimizer terminated. Time: 9.71 You can reproduce my results use the following scripts. git clone -b PyOptInterface https://github.com/PREP-NexT/PREP-SHOT.git cd PREP-SHOT conda env create -f prep-shot.yml conda activate prep-shot python run.py You can modify the solving configuration in the BTW, Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I change the As for the output model to file, we simply call |
Beta Was this translation helpful? Give feedback.
-
Thank you for spotting a bug in HiGHS interface. I ignored the constant term in linear expression when adding linear constraint. |
Beta Was this translation helpful? Give feedback.
Thank you for spotting a bug in HiGHS interface. I ignored the constant term in linear expression when adding linear constraint.
The fix is pushed at 419cecb
I will release a new version soon.