Excel Solver与C#之间的集成 [英] Integration between Excel Solver and C#
本文介绍了Excel Solver与C#之间的集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好!
我正在用C#开发应用程序,我想知道是否有一些类可以操纵Excel Solver宏.
我需要通过我的C#应用程序启动Excel Solver宏,然后查看是否结束.
问候,
Henrique.
Hello all!
I''m developing an application in C# and I''d like to know if there are some classes to manipulate Excel Solver Macros.
I need to start an Excel Solver Macro through my C# application and see if it''s over.
Regards,
Henrique.
推荐答案
是的,您可以以编程方式使用Excel求解器.我之前已经看过一个示例,但是由于求解器对于解决我的问题效率很低,因此请不要使用它.您还可以购买一个演化求解器,并可以在VBA或C ++中进行交互.
Yes, you can use Excel solver programmatically. I''ve seen an example before, but do not use it since solver is very inefficient for the problems I solve. There also is an evolutionary solver which you can purchase and interface with in VBA or C++.
这篇关于Excel Solver与C#之间的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文