When I get the error:"Expressions in objective functions must be real." If I maximize real part of objective function in SeDuMi, the solution will be correct?

1 view (last 30 days)
I solve an SDP optimization problem in SeDuMi, but I get the following error: "Expressions in objective functions must be real." So if I maximize real part of objective function, the solution will be correct?

Answers (0)

Categories

Find more on Get Started with Optimization Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!