How to code this objective function in MATLAB
Show older comments
I do have this optimization problem but couldn't put it in MATLAB. ANy help is appreciated:
Objective function: 
Xji: binary varibale = 1 if i is assigned to j
Zj: binary varibale = 1 if
Where: PT: required time for production, VT: required time per unit volume of material, SET: machine set-up time, MA: available machine’s production area, while i refers to number of jobs and j refers to number of batches.
The constraints were defined as part occurrence constraint (∑j ∈ J X ji), area capacity constraint (∑i ∈I a i ·X ji ≤ MA), job utilization constraint (∑i ∈IX ( j+1 ) i ≤ψ ·∑ i ∈IX ji), completion time constraints (C j−1 + PT j≤C j and C 0 = 0), and sign constraints (X ji, Z j ∈{ 0 , 1 }).
2 Comments
Matt J
on 20 Oct 2021
Your mathematical notation is hard to read. It would be better if you reformatted it using the forum's LaTeX insertion tool:

Mohammed AlGhamdy
on 20 Oct 2021
Answers (0)
Categories
Find more on Surrogate Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!