Warning: SDP constraint evaluated to trivial true.

344 views
Skip to first unread message

Mary

unread,
Sep 2, 2014, 11:18:25 AM9/2/14
to yal...@googlegroups.com
Hi,

I have this error when i am running my programme.

Warning: SDP constraint evaluated to trivial true. 
> In constraint.constraint at 43
  In sdpvar.le at 15
  In mainS at 23 
Warning: Solver not applicable (cplex)

kindly, let me know what could be possibility wrong.

Regards
Mary

Johan Löfberg

unread,
Sep 2, 2014, 12:24:13 PM9/2/14
to yal...@googlegroups.com
triviall true means you have code similiar to ...F = [F, 0*x >= 0] or x>=x etc. The expression evaluates to a constant which satisfies the constraint

Solver not applicable means you think you have a QP (or LP or SOCP etc) but it is not. The model is too complicated for cplex. Most likely you have a semidefinite constraint, or a bilinear constraint (display your constraints!)


Reply all
Reply to author
Forward
0 new messages