2018-01-02 05:02:23 -0500 | received badge | ● Notable Question (source) |

2016-03-15 10:33:21 -0500 | received badge | ● Popular Question (source) |

2012-04-06 05:29:50 -0500 | commented answer | error using minimize_constrained Somebody on irc suggested: "def constraint(u): return u[2] - 1" instead of "[u02-1]" and it worked. That way constraint is a function. Thx for your help. |

2012-04-06 05:25:21 -0500 | commented question | error using minimize_constrained K and des were not causing any problems (they are stiffness matrix and right hand side of finite elements method) since even with zero matrix and zero vector I would get the same error. |

2012-04-06 04:53:10 -0500 | received badge | ● Supporter (source) |

2012-04-06 03:56:27 -0500 | asked a question | error using minimize_constrained When I use minimize_constrained(), I get the following error: It comes from the following piece of code: I don't understand why I keep getting the error for above function call (I know about global/local variables in python function calls, but definition of vector "u" makes it's elements global variables.) |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.