About the objective function!

Uncategorized
Sep 22, 2021
W

Hello,everybody!
I have a question to ask for help.I establish a model,when I add objective function,it can not be solved and appear ’ Failed’,but I delete objective function,it can be solved.So I want to know the reason.Thank you!

M

Please show log outputs from the solver(s).

It can indicate numerical problems with the model.

W
Replying to #2

![捕获.PNG3|690x463]

W
Replying to #2

Excuse me! Could you help me?I really do not know the problem.

M
Replying to #6

The only thing we can say from this is that the solver runs into numerical difficulties. That sometimes happens. You could try another solver.

When you add the objective you get new data, the execution of the algorithm changes, and if your problem was hard to start with it can tip the balance and make it fail to solve. That happens.

W
Replying to #7

I will try.Thank you!