result NaN

35 views
Skip to first unread message

Cheng Wang

unread,
Sep 18, 2014, 1:18:46 AM9/18/14
to yal...@googlegroups.com
Hi everyone.

I use yalmip to solve a LP. 

min f=c*x

s.t. Ax<=b

The optimal value of f is NaN, while x has value. When I put the optimal x into the objective function, it returns value instead of NaN.

So wired……





Johan Löfberg

unread,
Sep 18, 2014, 1:33:15 AM9/18/14
to yal...@googlegroups.com
Show the model

Cheng Wang

unread,
Sep 18, 2014, 2:03:13 AM9/18/14
to yal...@googlegroups.com
Hi, Johan, I have emailed you my code. Thanks!

Johan Löfberg

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

Cheng Wang

unread,
Sep 18, 2014, 2:28:06 AM9/18/14
to yal...@googlegroups.com
Oh, yes. I got it. Thanks!
Reply all
Reply to author
Forward
0 new messages