Skip to content

Commit

Permalink
Update QP test tags & XPRESS
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Jul 27, 2023
1 parent 1977617 commit ff2c103
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion solvers/xpress/CHANGES.xpress.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
Summary of recent updates to Xpress for AMPL
============================================

## 20230727
- Fixed a memory leak #217
- Fixed quadratic constraints


## 20230726
- Fixed inequalities of integer expressions with
- MP: fixed inequalities of integer expressions with
non-integer constants, see test_int_non_int.mod.


Expand Down
6 changes: 3 additions & 3 deletions test/end2end/cases/categorized/fast/qp/modellist.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@
{
"name" : "prod_bin_var_01",
"objective" : 5,
"tags" : ["quadratic"],
"tags" : ["quadratic", "quadraticnonconvex"],
"options": {
"copt_options": "cvt:quadcon=0",
"comment_copt": "non convex constraint, linearise. But Gurobi convexifies it?"
} },
{
"name" : "prod_bin_var_02_obj",
"objective" : 1,
"tags" : ["quadratic_obj"],
"tags" : ["quadraticnonconvex", "quadratic_obj"],
"options": {
"highs_options": "cvt:quadobj=0",
"copt_options": "cvt:quadobj=0 cvt:quadcon=0",
Expand All @@ -110,7 +110,7 @@
},
{
"name" : "prod_01_obj",
"tags" : ["quadraticnonconvex"],
"tags" : ["quadraticnonconvex", "quadratic_obj"],
"options": {
"gurobi_options": "nonconvex=2",
"highs_options": "cvt:quadobj=0",
Expand Down
3 changes: 2 additions & 1 deletion test/end2end/scripts/python/Solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,8 @@ def __init__(self, exeName, timeout=None, nthreads=None,
otherOptions=None):
stags = {
ModelTags.continuous, ModelTags.integer, ModelTags.binary,
ModelTags.sos, ModelTags.quadratic,
ModelTags.sos,
ModelTags.quadratic, ModelTags.quadratic_obj,

ModelTags.return_mipgap, ModelTags.multiobj,

Expand Down

0 comments on commit ff2c103

Please sign in to comment.