Originally posted by: D_Culver
I'm having trouble modeling the Euclidean Norm of a sum of decision variables in my objective function when using OPL/CPLEX. I have tried unsuccessfully a number of methods to simply take the square root of the squares of the variables.
Below is my objective function and corresponding constraint. When I run this I receive the error message that Q is not positive semi-definite. What am I doing wrong?
dvar float+ q;
dvar boolean y
i in MISSIONSc in CONFIGSt in TIME;
maximize Pi * q;
st.
sum(i in MISSIONS, c in CONFIGS)(ObsVal_Range[i][c]*sum(t in TIME)y[i][c][t])^2 >= q^2;
Both Pi and ObsVal_Range[i][c] are model parameters.
Any ideas on how I can get this working properly? Thanks.
#CPLEXOptimizers#DecisionOptimization