1

I need to optimize an objective function F(x1,x2,..xn) subjected to constraints of the type xi=xj. Is there any in-built function in scipy/scikit-learn to implement this? Using SLSQP in scipy.optimize.minimize gives an error saying 'singular matrix C in lsq subproblem'

2
  • 1
    Could you not substitute one of the x[i], x[j] out of the problem? It would make the problem smaller. Jun 7, 2016 at 14:48
  • Well I did this but it may not always be possible to do it.
    – Rumu
    Jun 8, 2016 at 16:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.