function f = Brobekk_fun(x,Prob)

cost = Prob.cost;

f = cost'*x;