photo

SandeepKumar R


Last seen: mer än 3 år 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 ...

mer än 3 år 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...

mer än 4 år 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...

ungefär 5 år ago | 2 answers | 0

2

answers

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

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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;%!!!!...

mer än 5 år 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

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år 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...

mer än 5 år ago | 0

| accepted

Question


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

mer än 5 år 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...

mer än 6 år ago | 1 answer | 0

1

answer