[Cmpl] question on syntax for nested loops in cmpl

Richard Males rbmales at gmail.com
Tue Oct 17 11:23:28 EDT 2017


Thank you for your helpful response.  For the record, the following syntax
works exactly as desired:

{m in import_ports,j in seasons, k in grains: import_tonnage[m,j,k]=sum { i
in export_ports: route_tonnage[[i, m], j,k]};}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20171017/91679673/attachment.html>


More information about the Cmpl mailing list