Quantcast
Channel: MATLAB Central Newsreader - tag:"optimization"
Browsing all 130 articles
Browse latest View live

Keeping Bounds constant

I am using GA tool, i have 15 lower and upper bounds as 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 and 48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 respectively. My requirement is to minimize the...

View Article


How to solve a non-polynomial constrained optimization problem.

Hey guys, I have the following optimization problem: min{ c1*x + c2*x^3 + c3*x*(dx/dt) | Ax <= b } I can't use Quadprog because of the third degree. And i can't use the functions fminbnd, fmincon or...

View Article


linking of ga and simulink

i need to implement genetic algorithm in simulink, how can i call my function from simulink matlab function block. please help me the basic command to implement genetic algorithm in matlab is...

View Article

How to speed up this symbolic differentiation

Hi everyone. I have a code that creates a set of equations based on nodal coordinates in cartesian space. I then create a jacobian based on these using automatic sym generation and a series of nested...

View Article

Update PID gain from optimization function into simulink block

Hi All, I am trying to tune the pid gain using the optimization algorithm in matlab and update the values in the simulink gain block while the simulation is executing. When im trying to execute the...

View Article


Re: Update PID gain from optimization function into simulink block

On 4/13/2017 3:25 PM, Suvrat Ramasubramanian wrote:> Hi All,>> I am trying to tune the pid gain using the optimization algorithm in> matlab and update the values in the simulink gain block...

View Article

Re: Update PID gain from optimization function into simulink block

I looked at the answer in the link shared, however it doesn't solve my problem. I am trying to run an optimization loop, for tuning the PID gain, around the simulink design for a discrete system with a...

View Article

Re: Update PID gain from optimization function into simulink block

On 4/22/2017 6:11 PM, Suvrat Ramasubramanian wrote:> I looked at the answer in the link shared, however it doesn't solve my> problem.> I am trying to run an optimization loop, for tuning the...

View Article


Matlab Optimization

Hi, Let's say I have a function available to me called getLatency which takes in 3 parameters A, B and C: result = getLatency(A, B, C) I am trying to find the combination of A, B and C that would...

View Article


Re: Matlab Optimization

On 5/16/2017 7:56 PM, Hassan wrote:> Hi,> Let's say I have a function available to me called getLatency which> takes in 3 parameters A, B and C:>> result = getLatency(A, B, C)>> I...

View Article

fmincon and ConstraintTolerance TolCon

I'm seeing unexpected behavior in an optimization being performed with fmincon with non-linear constraints. 1) Without non-linear constrains, fmincon finds a minimum that violates my constraints 2)...

View Article

How can I use 'fmincon' without anonymous function with parameters?

I want to use the 'fmincon' in simulink matlab function block. And the simulink does not support the anonymous function. And I have several parameters for calculating the objective function and the...

View Article

Re: Bilevel optimization

James Allison <james.allison@mathworks.com> wrote in message <hq201d$bh6$2@fred.mathworks.com>...> Yes, fmincon has been used for bilevel nested optimization. I've used it > for...

View Article


Re: Bilevel optimization

"Kumar Sambhav" wrote in message <hq3t01$jrr$1@fred.mathworks.com>...> Thanks James. > > James Allison <james.allison@mathworks.com> wrote in message...

View Article

Latin Hypercube Sampling with lhsdesign

Hi,  I am on a project that involves using efficient global optimization (EGO).   For my initial sampling, I am generating 500 designs in a 10-dimensional design space. However, I am concerned about...

View Article


TypicalX in the Optimization Toolbox

Dear everybody Does the meaning of TypicalX parameter in the optimization toolbox change recently? I am using R2017a but I read some different meaning for this parameter in the book "Optimization in...

View Article

Re: TypicalX in the Optimization Toolbox

On 7/18/2017 9:07 AM, Mohammad wrote:> Dear everybody> Does the meaning of TypicalX parameter in the optimization toolbox > change recently? I am using R2017a but I read some different meaning...

View Article


Re: TypicalX in the Optimization Toolbox

Please forget the mentioned book. My question is about "TypicalX". TypicalX is a parameter of some functions in the optimization toolbox such as "fmincon" and "fminunc". What is the benefit of this...

View Article

Re: TypicalX in the Optimization Toolbox

On 7/18/2017 2:34 PM, Mohammad wrote:> Please forget the mentioned book.> My question is about "TypicalX".> TypicalX is a parameter of some functions in the optimization toolbox > such as...

View Article

Re: TypicalX in the Optimization Toolbox

Thank you very much Does it have any relation to "ScaleProblem"? ScaleProblem is a different parameter in fmincon which cause the algorithm to normalize all constraints and objective function.

View Article
Browsing all 130 articles
Browse latest View live