Community Profile

photo

SandeepKumar R


Last seen: alrededor de 2 meses ago Active since 2018

Statistics

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

View badges

Content Feed

View by

Question


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

5 meses ago | 0 answers | 0

0

answers

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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 2 años ago | 1 answer | 0

1

answer

Question


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

alrededor de 2 años ago | 1 answer | 0

1

answer

Question


Adding matlab paths temporarily
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 2 años ago | 1 answer | 0

1

answer

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

más de 2 años ago | 0

Answered
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;%!!!!...

más de 2 años ago | 0

Answered
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

más de 2 años ago | 0

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

más de 2 años ago | 0

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

más de 2 años ago | 0

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

más de 2 años ago | 0

| accepted

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

más de 2 años ago | 0

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

más de 2 años ago | 0

| accepted

Question


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

más de 2 años ago | 2 answers | 0

2

answers

Question


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

alrededor de 3 años ago | 1 answer | 0

1

answer