Feeds
Problem with linprob exit criteria?
Hi John, It's hard for me to be sure without reproduction steps, but I think this is a bug with the exit criteria and reporting...
12 months 前 | 1
| 已接受
How many columns can the input to the JacobianMultiplyFcn have?
@Matt J: lsqnonlin trust-region-reflective will only call with either 1) M and N dimensional column vectors, 2) An Mx2 matrix,...
1 year 前 | 3
| 已接受
How to optimize material properties from ANSYS file?
Hi Pedro, The overall approach you've described makes sense and I have seen similar approaches work successfully. For example,...
3 years 前 | 0
Why am I getting this error??!! #fmincon
This is likely due to an installation issue. fmincon is part of Optimization Toolbox, and if you do not have the full installat...
3 years 前 | 0
MATLAB Coder Error - optimset Unrecognized parameter name: 'GradObj'
Hi Vadim, For generating C code for fmincon (or lsqnonlin, etc.) via MATLAB Coder, we require that you use the optimoptions fun...
3 years 前 | 1
| 已接受
Using Matlab coder with lsqcurvefit(), can not pass optimoptions as an argument to the target function
Hi Xingwang, Despite support for the optimoptions function, the objects it generates are not supported for code generation. In ...
3 years 前 | 3
| 已接受
Design Optimization Toolbox MATLAB based on 2 or more outputs
Most solvers in Optimization and Global Optimization toolboxes are for single objectives. As Mario shared, you can use a "goal...
4 years 前 | 0
Particle swarm solver not available in Global Optimization Toolbox
Hi, Optimtool did not support all of the solvers in Optimization and Global Optimization Toolboxes. If you have installed or ...
4 years 前 | 1
| 已接受
Can I use automatic differentiation in fmincon?
Updated for R2020b Optimization Toolbox now includes automatic differentiation for problems built with the problem-based workfl...
4 years 前 | 0
Why is the optimization toolbox removed in the matlab future release?
Update: In R2020b, Optimization Toolbox and Global Optimization Toolbox now feature the Optimize Live Editor task, which is a g...
4 years 前 | 1
Will "optimtool" be replaced in the future?
Update: In R2020b, Optimization Toolbox and Global Optimization Toolbox now feature the Optimize Live Editor task, which is a g...
4 years 前 | 0
optimtool to be removed?
Update: In R2020b, Optimization Toolbox and Global Optimization Toolbox now feature the Optimize Live Editor task, which is a g...
4 years 前 | 0
scheduled optimtool removal date?
Update: In R2020b, Optimization Toolbox and Global Optimization Toolbox now feature the Optimize Live Editor task, which is a g...
4 years 前 | 0
what solver to use for a linear objective function with a quadratic constraint?
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quad...
4 years 前 | 0
how I can solve linear programming with quadratic constraints and linear constraints?
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quad...
4 years 前 | 0
Quadratic optimization with quadratic constraints
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quad...
4 years 前 | 0
Linear objective with quadratic constraint
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming, which can be used to solve quad...
4 years 前 | 0
How to solve SOCP program on MATLAB?
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming: https://www.mathworks.com/help...
4 years 前 | 1
Can I perform Second Order Cone Programming in MATLAB 7.8 (R2009a)?
As of R2020b, Optimization Toolbox now has a dedicated solver for second-order cone programming: https://www.mathworks.com/help...
4 years 前 | 1
Matlab 2019b optimoptions not work on sparse jacobPattern anymore
This is a bug in optimoptions in R2019b. Thanks for reporting this! As a workaround until it is fixed, you can use optimset ...
5 years 前 | 0
| 已接受
surrogateopt function's parallel option with a parallel objective function
Hi Andrea, Your observation is correct. Parallel Computing Toolbox only supports 1-level of parallelism. https://www.mathwo...
5 years 前 | 0
| 已接受
Huge overhead in fsolve due to fsolve>createExitMsg()
An update: This was changed in all solvers in R2018a. Now, the message is not made if it is not requested, i.e. if options.Dis...
5 years 前 | 0
| 已接受
Error in parfinitedifferences using fmincon and parallel
This is a bug in the R2013b Optimization Toolbox. See the report here: <https://www.mathworks.com/support/bugreports/963073 Bug...
6 years 前 | 1
| 已接受
fmincon with trust-region-reflective algorithm converges but interior point doesn't
What exactly does I-P return? Does it declare the problem infeasible? Does it time out? It might help others to post some output...
6 years 前 | 1
| 已接受
No feasible solution found when using intlinprog
If you are referring to intermediate feasible solutions you can use the built-in |OutputFcn| |savemilpsolutions|: <https://ww...
6 years 前 | 1
| 已接受
Why is lambda as an output of fmincon empty?
Hi Viswanath, The lambda output is empty since the algorithm was stopped prematurely by the OutputFcn. When that happens, ...
6 years 前 | 3
| 已接受
Reformulate a Constrained Linear Least Square Problem
You can try a trick from Lawson & Hanson and re-formulate to a minimal distance problem and solve via |lsqnonneg|. |lsqnonneg| i...
6 years 前 | 3
| 已接受
gamultiobj failure when starting with a whole feasible population
Hi, From the stack trace, you can see that the solver calls the fitness function with a row vector. It should be a 1-by-nvars...
6 years 前 | 0
| 已接受
DerivativeCheck and finite differencing in lsqcurvefit/lsqnonlin
Hi Matt, Your assessment is correct in that the step-size is determined relative to the scale of the variables (columns of J)...
8 years 前 | 0
| 已接受
What does this lsqnonlin error mean?
This error is occurring because your function is returning arrays of varying sizes. In this case, it is being caught during fini...
11 years 前 | 1
| 已接受