Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Unconstrained Maximisation Problem

Unconstrained Maximisation Problem

Unconstrained Maximisation Problem

Hi everyone, essentially my aim is to maximise the unconstrained equation (1) with respect to lambda_i's for i = 0, 1, ..., 10. These lambda_i's can take on any REAL value, including 0. All other variables and functions are defined as follows:

I wish to solve for these lambda_i's in matlab, I have quite a limited knowledge with matlab, however I realise I have to use these three functions:


However due to my limited experience with matlab I am not sure about how to write the code, could anyone please give me a hand?

Any help will be much appreciated!

RE: Unconstrained Maximisation Problem

Hi, sorry what is this file exchange section? I am new to the forums, apologies if this was posted in the wrong place.

RE: Unconstrained Maximisation Problem

Oh I see, I've searched the mathsworks site, there doesn't appear to be anything similar.

RE: Unconstrained Maximisation Problem

Check if your version of Matlab has the "optimization toolbox"
If it does, it is relatively easy to set up your problem.

Fe (IronX32)

RE: Unconstrained Maximisation Problem

Yup I do have the optimization toolbox, in fact, I think I've got the code, however the problem is that I've been running it since last night and it still hasn't finished, how do I know when a script has finished running? And how can I make it run faster? The code + data file is attached below:





The first 3 files are my codes, last file is the data file.

Many thanks for your help!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close