You haven’t provided enough information. The first thing you need to do is prove your optimization problem is convex.