from AMPL model: Intertemporal constraints in Pyomo indexed over set of strings

前端 未结 0 1252
长情又很酷
长情又很酷 2020-12-16 12:53

I am trying to declare an intertemporal constraint within a Pyomo model.

The right syntax in AMPL is the following:

subject to R3{t in T} : V[t]=(if t=\'t1\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题