--
You received this message because you are subscribed to a topic in the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ampl/Tg9iryPDuN8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to ampl+uns...@googlegroups.com.
param: eNB: Pmax:=
eNB1 165
eNB2 205;
param: SUBCAR: Ppwr:=
1 100
2 10
3 50
4 40
5 170;
param intf: 1 2 3 4 5:=
eNB1 3 11 11 1 16
eNB2 27 9 12 9 26;
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
--
To unsubscribe from this group and all its topics, send an email to ampl+uns...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
sum{i in eNB, j in SUBCAR} intf[i,j] * z[i,j] ;
Similarly, you have the product of two variables in constraints and replace those by 'z'. Moreover, you need to properly index 'z' in the constraint.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to ampl+unsubscribe@googlegroups.com.