Matlab optimization problem

I have a optimization problem to solve in Matlab.

A lot of the work is already done for this first part. Biggest issue is to correct mistakes.

I and sending you the photos of the problem atached and also the code i have done so far.

I will explain here exactly what has to be done(i dont know a lot of matlab so may be hard to explain sorry)

The point os to optimize the target function using the function fmincon

The decision valiable is a vector X that includes 4 vector inside Q1 Q2 V1 and V2. Q1 and A2 are constant. V1 and V2 are calculated.

I will explain the functions i already did (some have mistakes):

calcX0 - calculates the initial vector that will be used to optimize

parteX - divides the entrance vector X in the 4 subvectors to be used in other functions

juntaX - joins the 4 sub vectors back to X

dados - inicializes the given values for the problem

calcr - calculates the value of R that depends on H and deltaH (giving errors)

calch - calculates h

calcdeltah- calculates delta h

LB are the lower bounds from the restrictions

UB are the upper bounds for the restrictions

restricoes is where all the restrictions of the problem should be

The problem is about a hidro electric power station so thats why there are 2 different stations (and 2 R's and delta h and so on)

Completo is still empty but thats where i should calculate the target of the problem and optimize it using the function fmincon

Fmincon final should be something like this:

fmincon(X0,LB,UB,fobj,restricoes)

The info and code is atached as [url removed, login to view]

If you have any doubts feel free to contact me.

This is the first step of a bigger problem and i am willing to pay well for someone that will be interested in doing the full project if this first step goes well.

Thanks a lot

Skills: Matlab and Mathematica

( 0 reviews ) Portugal

Project ID: #4520454

25 freelancers are bidding on average \$184 for this job

bchandra1955

Professional controls and automation domain engineer with good MATLAB experience here

\$247 USD in 3 days
(23 Reviews)
4.8
DrFreelancer2012

Hi I have the require background, PhD.

\$1894 USD in 21 days
(18 Reviews)
4.6
DarkGandalf

Hi, I have 15 years of continuous experience in Matlab, mainly in Pattern Recognition. Please see PM.

\$250 USD in 15 days
(2 Reviews)
4.1
waseemabbas05

Hi I have extensive experience in MATLAB, scripting and troubleshooting I can fix it regards

\$154 USD in 7 days
(3 Reviews)
3.7
DrMan

I have academic background on control and years of R&D expereince with intelligentcontrol and [url removed, login to view] to serve your job.

\$244 USD in 10 days
(2 Reviews)
3.3
greenvector

\$140 USD in 15 days
(2 Reviews)
2.8
sam79

i can do this for you

\$333 USD in 3 days
(1 Review)
2.8
SeeProg

hi i have experience of solving optimization problems in matlab. i can solve this

\$155 USD in 3 days
(3 Reviews)
2.7
freelanmohan7

Hi, Expert in nonlinear optimization here. I am the right person for this job. Please see my PM. Thanks, Mohan

\$166 USD in 2 days
(3 Reviews)
2.5
ntltech

Electrical engineer with Ph.D. degree, P. Eng. designation and excellent knowledge for Matlab as I use it for my daily studies work. I'm willing to take over this project and the complete one when we get this project d More

\$166 USD in 7 days
(3 Reviews)
2.1
sathishjayakar

hi, i can do this for you.

\$222 USD in 3 days
(1 Review)
2.0
techhelp56935

Hi, I can assist. Please check PMB.

\$111 USD in 7 days
(4 Reviews)
0.0
sks0786

Ok, when do you need your project to be done. i can do it for you.

\$222 USD in 3 days
(0 Reviews)
0.0
eduardoaguilarh

\$222 USD in 3 days
(0 Reviews)
0.0
alphaedge999

I am interested in this project.

\$333 USD in 3 days
(0 Reviews)
0.0
zhejing1028

\$155 USD in 3 days
(0 Reviews)
0.0
joe1208

\$222 USD in 7 days
(0 Reviews)
0.0
artisticoder

Hello, I can help.

\$133 USD in 5 days
(0 Reviews)
0.0
rafirasa

Hello, I have great experience in Matlab and also i am a current 3rd year student of Mechatronics engineering in Monash university. I can work hard to make sure your job is finished within the deadline. Hope to h More

\$105 USD in 10 days
(0 Reviews)
0.0
sas201306