How do we define objective functions while doing optimization using Pulp in Python. We have defined Prediction models separately. Next step is to bring objective functions from prediction models (Gradient boosting, Random forest , Linear regression) and optimize to achieve maximum and minimum. Please suggest if someone has worked with Pulp library.