Matlab non linear optimization - how to use a dataset in the optimization

1 view (last 30 days)
Hey guys
I am very new to Matlab so I am struggling a little bit, any help would be appreciated. I am trying to write a non linear optimization program using fmincon. I want Matlab to read through a data set and compare those values to the constraints. (It is the size of an electrical generator based on electric and heat demand over a one month period).
Does anyone have any idea how to start this off?
thanks
Does anyone have any idea how to start this off? My whole optimization (and constraints) are based on this data set.
thanks

Accepted Answer

Andrew Alkiviades
Andrew Alkiviades on 8 May 2011
Hi Andrew
Its an excel spreadsheet I have imported it - importdata(filename)

More Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!