![]() ![]() ![]() output :Ī structure, containing the information about the optimization. xopt :Ī vector of doubles, cointating the computed solution of the optimization problem fopt :Ī scalar of double, containing the the function value at x exitflag :Ī scalar of integer, containing the flag which denotes the reason for termination of algorithm. options :Ī list, containing the option for user to specify. ![]() Refer Example for definition of Constraint function. It is declared in such a way that non-linear inequality constraints are defined first as a single row vector (c), followed by non-linear equality constraints as another single row vector (ceq). A function, representing the objective function of the problem x0 :Ī vector of doubles, containing the starting values of variables of size (1 X n) or (n X 1) where 'n' is the number of Variables A :Ī matrix of doubles, containing the coefficients of linear inequality constraints of size (m X n) where 'm' is the number of linear inequality constraints b :Ī vector of doubles, related to 'A' and containing the the Right hand side equation of the linear inequality constraints of size (m X 1) Aeq :Ī matrix of doubles, containing the coefficients of linear equality constraints of size (m1 X n) where 'm1' is the number of linear equality constraints beq :Ī vector of doubles, related to 'Aeq' and containing the the Right hand side equation of the linear equality constraints of size (m1 X 1) lb :Ī vector of doubles, containing the lower bounds of the variables of size (1 X n) or (n X 1) where 'n' is the number of Variables ub :Ī vector of doubles, containing the upper bounds of the variables of size (1 X n) or (n X 1) where 'n' is the number of Variables nlc :Ī function, representing the Non-linear Constraints functions(both Equality and Inequality) of the problem. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |