简体   繁体   中英

Microsoft Solver Foundation UnsolvableModelException

I am trying to solve an LP(a network problem) using Microsoft Solver Foundation. My code is in C#. I get the following error: UnsolvableModelException was unhandled. The solver(s) threw an exception while solving the model. But when I solve the same problem on a smaller sized network, I don't get this error. So is the error coming because the number of constraints and variables is too large? What is the reason for the error?

Thanks in advance.

Number of constraints and/or variables might be the problem. Which edition of SF do you use? You can find more about editions related constraints here . Also, you can experience the same problem if you use Gurobi Optimizer through Solver Foundation for large scale problems.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM