![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/11877529_1523514644023_DEF.jpg)
SandeepKumar R
Followers: 0 Following: 0
Feeds
質問
Slow convergence in fmincon
I am solving an optimization problem using fmincon (interior point method). The gradient, jacobian and hessian are analytically ...
3年以上 前 | 0 件の回答 | 1
0
回答質問
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...
約4年 前 | 1 件の回答 | 0
1
回答質問
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...
5年弱 前 | 1 件の回答 | 0
1
回答質問
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 ...
約5年 前 | 1 件の回答 | 0
1
回答質問
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年以上 前 | 1 件の回答 | 0
1
回答回答済み
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...
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年以上 前 | 0
回答済み
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;%!!!!...
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年以上 前 | 0
回答済み
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
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
| 採用済み
回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
| 採用済み
質問
Sparsity exploitation in optimization
Does the fmincon algorithm exploit sparsity of hessians and jacobians while solving optimization problem ?
5年以上 前 | 2 件の回答 | 0
2
回答質問
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...
約6年 前 | 1 件の回答 | 0