Community Profile

photo

SandeepKumar R


Last seen: 2 years ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

View badges

Feeds

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

3 years ago | 0 answers | 1

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

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

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

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

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

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

5 years 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

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

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

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

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

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

5 years ago | 0

| accepted

Question


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

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

5 years ago | 1 answer | 0

1

answer