Community Profile

# SandeepKumar R

Last seen: más de 1 año hace Con actividad desde 2018

Ver insignias

#### Content Feed

Ver por

Pregunta

Slow convergence in fmincon
I am solving an optimization problem using fmincon (interior point method). The gradient, jacobian and hessian are analytically ...

más de 1 año hace | 0 respuestas | 1

### 0

respuestas

Pregunta

Checking invertiblity of a symbolic matrix (small size N=12)
Hello everyone, I have a symbolic matrix A of size 12x12. I need to check if inverse of this matrix exists. If rank(A)=12, then...

más de 2 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

How to change the length of the lines inside the legend?
The green one is a solid line and the blue one is a dashed line. Clearly this is not indicative from the legend. How can this is...

alrededor de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

Why is fmincon slower in comparison to other solvers?
Hello everyone. I was solving an optimization problem using fmincon and IPOPT. I found that fmincon takes more time to compute ...

más de 3 años hace | 1 respuesta | 0

### 1

respuesta

Pregunta

I have 2 functions with same names in 2 different folders A and B. Lets call the function as func.m I have another main program...

más de 3 años hace | 1 respuesta | 0

### 1

respuesta

Respondida
Numerical solution is off for system of ODEs
To be consistent use years also in your ode function (better to stick to year). Secondly play with tolerances of ode( Reltol,Abs...

casi 4 años hace | 0

Respondida
Is this a bug of ode function
It was a tolerance issue. Please define your funtions appropriately. Not a bug in MATLAB close all tspan=0:0.1:90; h0=0;%!!!!...

casi 4 años hace | 0

Respondida
Square root in objective function must appear as nonlinear constraints for optimization?
Yes, you need to specify that constraint as ignoring this will lead infeasibilty. This is true for any optimizer

casi 4 años hace | 0

Respondida
Multiple For Loops to save data and then repeat again - Matrix Errors
In my experirence, careful bookeeping of the matrix dimensions in your mind while multiplying them is the only fix. If at all yo...

casi 4 años hace | 0

Respondida
Multiple For Loops to save data and then repeat again - Matrix Errors
T6s is the expression that has this error. Split it up into sub expressions and evaluate. When the matrix dimension error pops u...

casi 4 años hace | 0

Respondida
Sparsity exploitation in optimization
A follow up question. Do they automatically detect sparsiy and switch to Large scale mode (sparsity exploited) or do we specific...

casi 4 años hace | 0

Respondida
Path Planning and Cost Functions
function [z]=f(r) if r>0 & r<r1 z=x+y elseif r>r2 & r>r1 z=x+y+4 end Use conditional statements to get piecewise func...

casi 4 años hace | 0

Respondida
global optimization objective function greater than local optimization
At the end of the day the value thrown by the optimizer is purely based on optimiality tolerances and not based on absolute valu...

casi 4 años hace | 0

Pregunta

Sparsity exploitation in optimization
Does the fmincon algorithm exploit sparsity of hessians and jacobians while solving optimization problem ?

casi 4 años hace | 2 respuestas | 0

### 2

respuestas

Pregunta

Abnormal results using + operator in matlab 2018a
Hello every one.Found this problem while using matlab where vectors of different sizes were added and a matrix was given as a r...

más de 4 años hace | 1 respuesta | 0

respuesta