Merge "Added fatal error for constraints + L-BFGS minimizer" into release-4-5-patches