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

Formulation of a multivariate piecewise linear constraints

回答済み

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。