google / google/or-tools

Xpress: sos constraint do not support linear expression

Open
#5,084 2 comments 0 reactions 1 assignee Claimed by @Mizux View on GitHub
Bug Solver: MathOpt Solver: Xpress
Dominant language
C++
Stars
14.1k
Forks
2.5k
Avg merge
8h 39m
Merged PRs (30d)
72

Description

like gurobi, xpress solver do not support natively linear sos contraint...
But contrary to gurobi_solver.cc which introduce temp variable to make it work out of the box, xpress did not

ref:
* https://www.fico.com/fico-xpress-optimization/docs/latest/solver/optimizer/HTML/xprscxx/classxpress_1_1objects_1_1SOS.html
* https://www.fico.com/fico-xpress-optimization/docs/latest/mosel/mosel_lang/dhtml/makesos1.html

* https://docs.gurobi.com/projects/optimizer/en/current/reference/c/model.html#c.GRBaddsos

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.