IPOPTData[id]
represents an instance of an IPOPTData expression created by IPOPTMinimize.
IPOPTData
IPOPTData[id]
represents an instance of an IPOPTData expression created by IPOPTMinimize.
更多信息和选项
- To use IPOPTData, you first need to load it using Needs["IPOPTLink`"].
- An IPOPTData expression stores information about the solution of a minimization problem solved by IPOPTMinimize.
- The information in an IPOPTData expression can be examined by functions such as IPOPTMinValue and IPOPTArgMin.
- When an IPOPTData expression is no longer referenced in any way within a kernel session the memory resources are automatically released.
范例
打开所有单元 关闭所有单元基本范例 (1)
Needs["IPOPTLink`"]IPOPTMinimize returns an instance of IPOPTData expression:
soln = IPOPTMinimize[Cos[x + y] * Sin[x - y], {x, y}, {0, 1}, {{-1, 1}, {-1, 1}}, {Sin[x], x * y}, {{-1, 0}, {-.25, .0}}]Extract the minimum value and position from the IPOPTData expression:
{IPOPTMinValue[soln], IPOPTArgMin[soln]}Possible Issues (1)
IPOPTData expressions are stored within a kernel session until they are deleted or are no longer referenced in any way.
Needs["IPOPTLink`"]IPOPTMinimize[Cos[x], {x}, {0}]Check all currently stored IPOPTData expressions:
IPOPTDataExpressions[]Manually delete an IPOPTData expression:
IPOPTDataDelete[IPOPTData[1]]IPOPTDataExpressions[]Setting $HistoryLength = 0 prevents the automatic storing of IPOPTData expressions:
$HistoryLength = 0;IPOPTMinimize[Sin[x], {x}, {0}]IPOPTDataExpressions[]技术笔记
相关指南
文本
Wolfram Research (2016),IPOPTData,Wolfram 语言函数,https://reference.wolfram.com/language/IPOPTLink/ref/IPOPTData.html.
CMS
Wolfram 语言. 2016. "IPOPTData." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/IPOPTLink/ref/IPOPTData.html.
APA
Wolfram 语言. (2016). IPOPTData. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/IPOPTLink/ref/IPOPTData.html 年
BibTeX
@misc{reference.wolfram_2026_ipoptdata, author="Wolfram Research", title="{IPOPTData}", year="2016", howpublished="\url{https://reference.wolfram.com/language/IPOPTLink/ref/IPOPTData.html}", note=[Accessed: 22-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_ipoptdata, organization={Wolfram Research}, title={IPOPTData}, year={2016}, url={https://reference.wolfram.com/language/IPOPTLink/ref/IPOPTData.html}, note=[Accessed: 22-June-2026]}