Answer:
Find the appropriate form for your objective function Then you will describe which solvers can handle complex then, you pass the extra Parameters finally, the function argument details.