Need help with prod() or any custom function with JuMP

Thank you so much for your wide explanation.

As i mention Ipopt Optimizer actually solves it but gives float results in “groups” array.

I guess i need a “MINLP = Mixed-integer nonlinear programming” solver. But i could not find a working one with Jump.

I will try convex solver.
Thanks again for explanation.
@blegat