×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

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

(OP)
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:

http://www.mathworks.com/help/stats/multivariate-n...
http://www.mathworks.com/help/matlab/optimization....
http://www.mathworks.com/help/optim/functionlist.h...

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!
Replies continue below

Recommended for you

RE: Unconstrained Maximisation Problem

(OP)
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

(OP)
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.

peace
Fe (IronX32)

RE: Unconstrained Maximisation Problem

(OP)
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:

http://files.engineering.com/getfile.aspx?folder=b...

http://files.engineering.com/getfile.aspx?folder=3...

http://files.engineering.com/getfile.aspx?folder=a...

http://files.engineering.com/getfile.aspx?folder=c...

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



News


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