hello.
I'm doing a small algorithm that aims to optimize a given objective function. My question is how to do this type of problem, restrictions exist with different types of variables and a function that is necessary to maximize.
The formulation is as follows:

