Skip to content

Unclear complementarity in example #4076

@blegat

Description

@blegat

The P variable has no bound

@variable(model, P[ω = 1:5], start = 1) # Electricity price

so what does the complementarity means ?
## Production is equal to consumption
@constraint(model, [ω = 1:5], Y[ω] - Q[ω] P[ω])

According to @frapac , in AMPL, since it has no bounds, it will just add equalities to the lhs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions