Conditional Constraints if-esle on decission variable

Answered

Comments

1 comment

  • Matthias Miltenberger

    Hi Rahul,

    This condition does not make sense to me:

    elif 1 < d[t] > 1

    What do you want to express here? Is this true for all values that are not exactly 1? Tying a discrete decision onto the precise value of a continuous variable is very unusual.

    Cheers,
    Matthias

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk