$max_mass
$max_volume
$lossperleaguepct
+$max_capital
</%args>
<&| script &>
da_pageload= Date.now();
join(" + ", map { ($_->{"unit$mv"}*1e-3).' f'.$_->{Ix} } @rel_flows).
" <= $max";
}
+ if (defined $max_capital) {
+ $cplex .= "
+ ". sprintf("%-10s","capital_$ci:")." ".
+ join(" + ", map { ($_->{"org_price"}).' f'.$_->{Ix} } @rel_flows).
+ " <= $max_capital";
+ }
$cplex.= "\n";
}