![]() ![]() ![]() You must pass the arguments in the correct order, and supply the empty matrix for the arguments you are not using. ![]() This page illustrates how you can solve the following constrained nonlinear optimization problem:Ġ = 0, so we must multiply by -1 to form -x1 * x2 <= 0.īelow is the code to call fmincon, passing vectors for the lower and upper bounds on the variables, and the addresses of the two functions above.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |