changes in modindices(); more output options, but currently no support for (all sorts of) equality constraints