Dose who know about Optimization with Summation objective function?
Show older comments
Hello, I want make objective function for 24-h Charging / Discharging scheduling.

So, I made like this
for 1:24
for 1:5
fun = a*P_char*C_cost1 - (1-a)P_dischar*C_cost2 %% a=charging signal, P = charging discharging power, C = charging discharging cost
end
end
but this function didn't consider other times cost, they just think current time step only.
How can I fix my function? Plz help me. thank you :)
Accepted Answer
More Answers (1)
Muhammad Umair Javed
on 9 Jun 2020
0 votes
Hi Kim
I am also working on a mixed integer nonlinear problem and using MINLP MATLAB toolbox, and using SCIP solver. I am just wondering how you to give a nonlinear objective function in this suit?

Thanking you in anticipation
Umaie
Categories
Find more on Get Started with Optimization Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!