I need to put this objective function in Julia. Can someone help me?
I started doing this, but I still couldn’t compile the objective function
using JuMP, JuMPeR, DataFrames, MathOptInterface, GLPKMathProgInterface
ModelRobust = RobustModel(solver = GLPKSolverLP())
a = 1:4
t = 1:4
w = 1:2
A = a
T = t
W = w
#Parameter
QD = [878 0; 0 1131; 100 0; 0 200]
@variable(ModelRobust,x[A,T]<=0)
@variable(ModelRobust,k[A,T]<=0)
@objective(ModelRobust,Max,sum(QD[a,w]*x[a,t]*k[a,t] for a in A))