MATLAB: Feasible solutions in a function with a given product. optimization How do I get Matlab to give me a matrix of possible solutions for ri and L when V is fixed? Vi=((pi*(ri)^2*L)+((4*pi*(ri)^3)/3)); Best Answer You can loop through various ri values and read off the resulting L values.Alan WeissMATLAB mathematical toolbox documentation Related SolutionsMATLAB: “Error in running optimization. Not enough input arguments” while running ga You need to have ONE variable as your decision variable. Something likefunction Length_Sum = objective_function(x)l1 = x(1);l2 = x(2);l3 = x(3);Length_Sum = l1 + l2 + l3; % or just use sum(x)See Compute Objective Function.Similarly, pass just one variable to simple_constraint, and extract l1, l2, and l3 inside the function.Alan WeissMATLAB mathematical toolbox documentation MATLAB: Random Walk Matrix Optimisation help fminconBest wishesTorsten. Related QuestionGA Optimisation, the final output solution violate the constraints.What is the right way to treate “Optimization terminated: no feasible point found.” ??
Best Answer