简体   繁体   English

我需要Java解算器库作为Excel解算器工具的优化工作

[英]I need a Java solver Library work as optimization with the Excel Solver tool

I just started using Java for building models doing some analysis on PV modules. 我刚开始使用Java来构建模型,对PV模块进行一些分析。 I am currently writing a class for a PV module, single diode model. 我目前正在为PV模块,单二极管模型编写课程。 I need to use a few points of data such as 'f(current)=voltage' to be able to find all the factors in the equation. 我需要使用一些数据点,如'f(current)= voltage',才能找到方程中的所有因子。 Excel does have this function, called 'optimization with the Excel Solver tool'. Excel确实具有此功能,称为“使用Excel解算器工具进行优化”。 Is there any good library highly recommended for this function? 是否有强烈建议使用此功能的好库? I have tried 'Choco solver' however it does not support many mathematics function for the constraint. 我尝试了'巧克力解算器',但它不支持许多数学函数的约束。 eg it does not allow you to use a/b, when a or b is a double. 例如,当a或b为double时,它不允许使用a / b。

I would be really grateful if anyone could give me a hand on this. 如果有人能帮我解决这个问题,我将非常感激。

Try free JSR-331"Java Constraint Programming API" http://openrules.com/jsr331 . 尝试免费的JSR-331“Java约束编程API” http://openrules.com/jsr331 You may also want to check out http://openrules.com/rulesolver.htm 您可能还想查看http://openrules.com/rulesolver.htm

您可以使用Solver中的那个(但不是免费的) http://www.solver.com/solver-tools-for-developers.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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