photo

Steve Grikschat

MathWorks

Last seen: 18 days ago Active since 2011

Followers: 1   Following: 0

Message

Statistics

All
  • Revival Level 2
  • Knowledgeable Level 4
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 2
  • First Submission
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
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...

1 year ago | 1

| accepted

Answered
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,...

2 years ago | 3

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ...

4 years ago | 3

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

Answered
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 ago | 1

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 3

| accepted

Answered
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 ago | 3

| accepted

Answered
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...

7 years ago | 0

| accepted

Answered
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)...

9 years ago | 0

| accepted

Answered
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 ago | 1

| accepted

Load more