Skip to content

Commit

Permalink
Merge pull request #14 from rte-france/xpress_indicator_ct
Browse files Browse the repository at this point in the history
Add support for indicator constraints in XPRESS interface
  • Loading branch information
sgatto authored Sep 3, 2024
2 parents 1309d12 + 9931912 commit 4bbfa56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ortools/xpress/parse_header_xpress.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self):
"XPRSgetmipsol", "XPRSchgbounds", "XPRSchgobj", "XPRSchgcoef", "XPRSchgmcoef",
"XPRSchgrhs", "XPRSchgrhsrange", "XPRSchgrowtype", "XPRSaddcbmessage", "XPRSsetcbmessage",
"XPRSaddmipsol", "XPRSaddcbintsol", "XPRSremovecbintsol",
"XPRSinterrupt", "XPRSlpoptimize", "XPRSmipoptimize"}
"XPRSinterrupt", "XPRSlpoptimize", "XPRSmipoptimize", "XPRSsetindicators"}
self.__missing_required_functions = self.__required_functions
self.__XPRSprob_section = False

Expand Down
2 changes: 1 addition & 1 deletion patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

# add the USE_SIRIUS configuration flag in deps.cmake
full_patch.append(Addition(
Path.cwd()/'cmake'/'deps.cmake',
Path.cwd()/'cmake'/'system_deps.cmake',
'''
if(USE_CPLEX)
find_package(CPLEX REQUIRED)
Expand Down

0 comments on commit 4bbfa56

Please sign in to comment.