You can create and configure an optimization task. An optimization task contains the definition of your optimization.