Hi,
I've recently run into a problem where the Optimizer occasionally can't find a portfolio which meets all the requirements I've set out. Can someone share some code which will change the requirements of the Optimizer if a proper portfolio can't be found?
i.e.
If I've set the requirements to be dollar neutral, sector neutral and risk neutral and a portfolio can't be found, remove the risk neutral requirement etc...