0% found this document useful (0 votes)
31 views1 page

Fmincon Lab

This document proposes a lab assignment to teach engineering students how to use the fmincon function in MATLAB for solving optimization problems. The lab would first have students solve simpler optimization problems using the symbolic toolbox, then more complex problems requiring partial derivatives. Finally, students would use fmincon to solve two real-world problems to demonstrate its usefulness. The goals are to provide students with an optimization tool for co-ops, show another MATLAB capability, and reinforce skills with the symbolic toolbox.

Uploaded by

api-266664299
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views1 page

Fmincon Lab

This document proposes a lab assignment to teach engineering students how to use the fmincon function in MATLAB for solving optimization problems. The lab would first have students solve simpler optimization problems using the symbolic toolbox, then more complex problems requiring partial derivatives. Finally, students would use fmincon to solve two real-world problems to demonstrate its usefulness. The goals are to provide students with an optimization tool for co-ops, show another MATLAB capability, and reinforce skills with the symbolic toolbox.

Uploaded by

api-266664299
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

FMINCON Lab/HW Idea Engineering Models II

Purpose:
The purpose of this lab would be to teach students an additional capability of MATLAB. At this
point in their programming education they have learned how to write code in MATLAB to solve
simple problems. fmincon is a very useful tool that is used for optimization problems that may
be too advanced for their symbolic toolbox capabilities. Many students encounter optimization
problems on their first co-op. I know that fmincon would have helped me for my first co-op.

Format:
A lab/HW that would teach this function of MATLAB would first have to require the students to
use the symbolic toolbox to solve a few simple and slightly complex optimization problems. The
first few could be from calculus one and have no constraints. Then a few could be from
multivariable calculus and require partial derivatives. The last two problems could be extremely
complex and this is where fmincon would come in handy. They would have to be real life
problems so the students could understand the usefulness of the function.

The students would submit the code that they wrote to solve the problems requiring the symbolic
toolbox and screenshots of the data they entered into the fmincon function to solve the last two
problems.

Conclusion:
There are three main goals for a lab like this. The first is to give students a useful optimization
tool that they may be able to use during a co-op in manufacturing, process, or design
engineering. The second goal is to display another feature of MATLAB that many students
didnt know existed. Most students think that what they learn in the first two semesters of
Models is all the program can do but it is much more powerful than they will ever know unless
they are a CS major. The third reason this lab is important is because it is a good practice for the
symbolic toolbox, which is a very useful tool in itself.

You might also like