Difference between revisions of "Examining Engine Capabilities"

Line 3: Line 3:
  
 
Information about the limits on the maximum number of variables or constraints allowed by each installed engine can be accessed using this expression:
 
Information about the limits on the maximum number of variables or constraints allowed by each installed engine can be accessed using this expression:
  OptEngineInfo( "All",["MaxVars","MaxIntVars","MaxConstraints"])
+
:<code>OptEngineInfo( "All",["MaxVars","MaxIntVars","MaxConstraints"])</code>
 +
 
 
This returns a table indexed by <code>.ProblemType</code>, <code>.Engine</code> and the limit type, e.g.:
 
This returns a table indexed by <code>.ProblemType</code>, <code>.Engine</code> and the limit type, e.g.:
  
[[File:7-1.png|350px]]
+
:[[File:7-1.png|350px]]
  
 
The displayed problem types are:
 
The displayed problem types are:
  
{| class="wikitable" cellpadding="2"
+
:{| class="wikitable" cellpadding="2"
 
|-
 
|-
 
! width="100pt" | Element
 
! width="100pt" | Element
Line 32: Line 33:
 
|non-smooth nonlinear
 
|non-smooth nonlinear
 
|}
 
|}
 +
 +
==See Also==
 +
* [[OptEngineInfo]]
 +
* [[OptInfo]]
 +
  
 
<footer>Optimizer Function Reference / {{PAGENAME}} / Specifying Settings</footer>
 
<footer>Optimizer Function Reference / {{PAGENAME}} / Specifying Settings</footer>

Revision as of 22:36, 16 March 2016


Information about the limits on the maximum number of variables or constraints allowed by each installed engine can be accessed using this expression:

OptEngineInfo( "All",["MaxVars","MaxIntVars","MaxConstraints"])

This returns a table indexed by .ProblemType, .Engine and the limit type, e.g.:

7-1.png

The displayed problem types are:

Element Description
LP linear program
QP quadratic objective, linear constraints
QCP quadratic with convex quadratic constraints

(solvers designed specifically for quadratics treat this as if the problem is convex)

NLP smooth nonlinear
NSP non-smooth nonlinear

See Also


Comments


You are not allowed to post comments.