Minimization of losses of dc-dc boost converter

You should either formulate a convex problem enterable into CVX, or if you have a non-convex problem, use some other tool. Have you read Why isn't CVX accepting my model? READ THIS FIRST! yet?