Prev: Johnson's Single-Source sequential sorting algorithm
Next: How to prevent GA premature and speed convergence
From: SARVANI NADIMINTY on 5 Apr 2010 10:20 I have been using fmincon function of the form [x,fval] = fmincon(@myfun1,x0,A,b,Aeq,beq,lb,ub,@mycon,options) I have given 6 nonlinear constraints in the 'mycon' function that consist of 96 variables and the function to be optimized contains the same 96 different variables. I have given all ones for the 'x0' matrix. The 'A, b, Aeq, beq, lb, ub' are empty matrices. I want value at each iteration. But It s taking a lot of time to execute the optimization and the function is not giving value at each iteration. It is stopping after an iteration say at 28th iteration although i am giving 1000 iterations. how can i change the options to overcome this problems or is tha any other solution for this? Thank you SARVANI NADIMINTY |