メインコンテンツへスキップ

Formulation of a multivariate piecewise linear constraints

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Riley Clement
    • Gurobi Staff

    Hi Patrick,

    One approach would be to construct m disjoint convex regions:

    \[\mathcal{S}'_i = \{(p,y) : y \in \mathcal{S}_i, p = a^T_i - b_i\}\]

    over completely separate sets of variables, eg \((p_i, y_i)\), then introduce binary variables \(x_1, \ldots, x_m\) and the constraint \(\sum_i x_i = 1\)

    and use indicator constraints of the form

    (x_i == 1) >> (p == p_i)

    (or the big M equivalent).

    - Riley

     

    0

投稿コメントは受け付けていません。