15
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
2 <!--NewPage-->
|
|
3 <HTML>
|
|
4 <HEAD>
|
|
5 <!-- Generated by javadoc (build 1.6.0_17) on Sat Mar 27 22:46:15 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 DifferentiableMultivariateVectorialOptimizer (Commons Math 2.1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="date" CONTENT="2010-03-27">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 if (location.href.indexOf('is-external=true') == -1) {
|
|
19 parent.document.title="DifferentiableMultivariateVectorialOptimizer (Commons Math 2.1 API)";
|
|
20 }
|
|
21 }
|
|
22 </SCRIPT>
|
|
23 <NOSCRIPT>
|
|
24 </NOSCRIPT>
|
|
25
|
|
26 </HEAD>
|
|
27
|
|
28 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
29 <HR>
|
|
30
|
|
31
|
|
32 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
33 <A NAME="navbar_top"><!-- --></A>
|
|
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
36 <TR>
|
|
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
38 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
40 <TR ALIGN="center" VALIGN="top">
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DifferentiableMultivariateVectorialOptimizer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
49 </TR>
|
|
50 </TABLE>
|
|
51 </TD>
|
|
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
53 </EM>
|
|
54 </TD>
|
|
55 </TR>
|
|
56
|
|
57 <TR>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.html" title="interface in org.apache.commons.math.optimization"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../../org/apache/commons/math/optimization/GoalType.html" title="enum in org.apache.commons.math.optimization"><B>NEXT CLASS</B></A></FONT></TD>
|
|
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
62 <A HREF="../../../../../index.html?org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="DifferentiableMultivariateVectorialOptimizer.html" target="_top"><B>NO FRAMES</B></A>
|
|
64 <SCRIPT type="text/javascript">
|
|
65 <!--
|
|
66 if(window==top) {
|
|
67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
68 }
|
|
69 //-->
|
|
70 </SCRIPT>
|
|
71 <NOSCRIPT>
|
|
72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
73 </NOSCRIPT>
|
|
74
|
|
75
|
|
76 </FONT></TD>
|
|
77 </TR>
|
|
78 <TR>
|
|
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
80 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
83 </TR>
|
|
84 </TABLE>
|
|
85 <A NAME="skip-navbar_top"></A>
|
|
86 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
87
|
|
88 <HR>
|
|
89 <!-- ======== START OF CLASS DATA ======== -->
|
|
90 <H2>
|
|
91 <FONT SIZE="-1">
|
|
92 org.apache.commons.math.optimization</FONT>
|
|
93 <BR>
|
|
94 Interface DifferentiableMultivariateVectorialOptimizer</H2>
|
|
95 <DL>
|
|
96 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/commons/math/optimization/general/AbstractLeastSquaresOptimizer.html" title="class in org.apache.commons.math.optimization.general">AbstractLeastSquaresOptimizer</A>, <A HREF="../../../../../org/apache/commons/math/optimization/general/GaussNewtonOptimizer.html" title="class in org.apache.commons.math.optimization.general">GaussNewtonOptimizer</A>, <A HREF="../../../../../org/apache/commons/math/optimization/general/LevenbergMarquardtOptimizer.html" title="class in org.apache.commons.math.optimization.general">LevenbergMarquardtOptimizer</A>, <A HREF="../../../../../org/apache/commons/math/optimization/MultiStartDifferentiableMultivariateVectorialOptimizer.html" title="class in org.apache.commons.math.optimization">MultiStartDifferentiableMultivariateVectorialOptimizer</A></DD>
|
|
97 </DL>
|
|
98 <HR>
|
|
99 <DL>
|
|
100 <DT><PRE>public interface <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.33"><B>DifferentiableMultivariateVectorialOptimizer</B></A></DL>
|
|
101 </PRE>
|
|
102
|
|
103 <P>
|
|
104 This interface represents an optimization algorithm for <A HREF="../../../../../org/apache/commons/math/analysis/DifferentiableMultivariateVectorialFunction.html" title="interface in org.apache.commons.math.analysis"><CODE>vectorial differentiable objective functions</CODE></A>.
|
|
105 <p>Optimization algorithms find the input point set that either <A HREF="../../../../../org/apache/commons/math/optimization/GoalType.html" title="enum in org.apache.commons.math.optimization"><CODE>maximize or minimize</CODE></A> an objective function.</p>
|
|
106 <P>
|
|
107
|
|
108 <P>
|
|
109 <DL>
|
|
110 <DT><B>Since:</B></DT>
|
|
111 <DD>2.0</DD>
|
|
112 <DT><B>Version:</B></DT>
|
|
113 <DD>$Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $</DD>
|
|
114 <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/math/optimization/MultivariateRealOptimizer.html" title="interface in org.apache.commons.math.optimization"><CODE>MultivariateRealOptimizer</CODE></A>,
|
|
115 <A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.html" title="interface in org.apache.commons.math.optimization"><CODE>DifferentiableMultivariateRealOptimizer</CODE></A></DL>
|
|
116 <HR>
|
|
117
|
|
118 <P>
|
|
119
|
|
120 <!-- ========== METHOD SUMMARY =========== -->
|
|
121
|
|
122 <A NAME="method_summary"><!-- --></A>
|
|
123 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
124 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
125 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
126 <B>Method Summary</B></FONT></TH>
|
|
127 </TR>
|
|
128 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
129 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
130 <CODE> <A HREF="../../../../../org/apache/commons/math/optimization/VectorialConvergenceChecker.html" title="interface in org.apache.commons.math.optimization">VectorialConvergenceChecker</A></CODE></FONT></TD>
|
|
131 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getConvergenceChecker()">getConvergenceChecker</A></B>()</CODE>
|
|
132
|
|
133 <BR>
|
|
134 Get the convergence checker.</TD>
|
|
135 </TR>
|
|
136 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
137 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
138 <CODE> int</CODE></FONT></TD>
|
|
139 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getEvaluations()">getEvaluations</A></B>()</CODE>
|
|
140
|
|
141 <BR>
|
|
142 Get the number of evaluations of the objective function.</TD>
|
|
143 </TR>
|
|
144 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
146 <CODE> int</CODE></FONT></TD>
|
|
147 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getIterations()">getIterations</A></B>()</CODE>
|
|
148
|
|
149 <BR>
|
|
150 Get the number of iterations realized by the algorithm.</TD>
|
|
151 </TR>
|
|
152 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
154 <CODE> int</CODE></FONT></TD>
|
|
155 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getJacobianEvaluations()">getJacobianEvaluations</A></B>()</CODE>
|
|
156
|
|
157 <BR>
|
|
158 Get the number of evaluations of the objective function jacobian .</TD>
|
|
159 </TR>
|
|
160 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
162 <CODE> int</CODE></FONT></TD>
|
|
163 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getMaxEvaluations()">getMaxEvaluations</A></B>()</CODE>
|
|
164
|
|
165 <BR>
|
|
166 Get the maximal number of functions evaluations.</TD>
|
|
167 </TR>
|
|
168 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
170 <CODE> int</CODE></FONT></TD>
|
|
171 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#getMaxIterations()">getMaxIterations</A></B>()</CODE>
|
|
172
|
|
173 <BR>
|
|
174 Get the maximal number of iterations of the algorithm.</TD>
|
|
175 </TR>
|
|
176 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
178 <CODE> <A HREF="../../../../../org/apache/commons/math/optimization/VectorialPointValuePair.html" title="class in org.apache.commons.math.optimization">VectorialPointValuePair</A></CODE></FONT></TD>
|
|
179 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#optimize(org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction, double[], double[], double[])">optimize</A></B>(<A HREF="../../../../../org/apache/commons/math/analysis/DifferentiableMultivariateVectorialFunction.html" title="interface in org.apache.commons.math.analysis">DifferentiableMultivariateVectorialFunction</A> f,
|
|
180 double[] target,
|
|
181 double[] weights,
|
|
182 double[] startPoint)</CODE>
|
|
183
|
|
184 <BR>
|
|
185 Optimizes an objective function.</TD>
|
|
186 </TR>
|
|
187 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
189 <CODE> void</CODE></FONT></TD>
|
|
190 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#setConvergenceChecker(org.apache.commons.math.optimization.VectorialConvergenceChecker)">setConvergenceChecker</A></B>(<A HREF="../../../../../org/apache/commons/math/optimization/VectorialConvergenceChecker.html" title="interface in org.apache.commons.math.optimization">VectorialConvergenceChecker</A> checker)</CODE>
|
|
191
|
|
192 <BR>
|
|
193 Set the convergence checker.</TD>
|
|
194 </TR>
|
|
195 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
197 <CODE> void</CODE></FONT></TD>
|
|
198 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#setMaxEvaluations(int)">setMaxEvaluations</A></B>(int maxEvaluations)</CODE>
|
|
199
|
|
200 <BR>
|
|
201 Set the maximal number of functions evaluations.</TD>
|
|
202 </TR>
|
|
203 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
205 <CODE> void</CODE></FONT></TD>
|
|
206 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#setMaxIterations(int)">setMaxIterations</A></B>(int maxIterations)</CODE>
|
|
207
|
|
208 <BR>
|
|
209 Set the maximal number of iterations of the algorithm.</TD>
|
|
210 </TR>
|
|
211 </TABLE>
|
|
212
|
|
213 <P>
|
|
214
|
|
215 <!-- ============ METHOD DETAIL ========== -->
|
|
216
|
|
217 <A NAME="method_detail"><!-- --></A>
|
|
218 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
219 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
220 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
221 <B>Method Detail</B></FONT></TH>
|
|
222 </TR>
|
|
223 </TABLE>
|
|
224
|
|
225 <A NAME="setMaxIterations(int)"><!-- --></A><H3>
|
|
226 setMaxIterations</H3>
|
|
227 <PRE>
|
|
228 void <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.39"><B>setMaxIterations</B></A>(int maxIterations)</PRE>
|
|
229 <DL>
|
|
230 <DD>Set the maximal number of iterations of the algorithm.
|
|
231 <P>
|
|
232 <DD><DL>
|
|
233 <DT><B>Parameters:</B><DD><CODE>maxIterations</CODE> - maximal number of function calls
|
|
234 .</DL>
|
|
235 </DD>
|
|
236 </DL>
|
|
237 <HR>
|
|
238
|
|
239 <A NAME="getMaxIterations()"><!-- --></A><H3>
|
|
240 getMaxIterations</H3>
|
|
241 <PRE>
|
|
242 int <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.44"><B>getMaxIterations</B></A>()</PRE>
|
|
243 <DL>
|
|
244 <DD>Get the maximal number of iterations of the algorithm.
|
|
245 <P>
|
|
246 <DD><DL>
|
|
247
|
|
248 <DT><B>Returns:</B><DD>maximal number of iterations</DL>
|
|
249 </DD>
|
|
250 </DL>
|
|
251 <HR>
|
|
252
|
|
253 <A NAME="getIterations()"><!-- --></A><H3>
|
|
254 getIterations</H3>
|
|
255 <PRE>
|
|
256 int <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.49"><B>getIterations</B></A>()</PRE>
|
|
257 <DL>
|
|
258 <DD>Get the number of iterations realized by the algorithm.
|
|
259 <P>
|
|
260 <DD><DL>
|
|
261
|
|
262 <DT><B>Returns:</B><DD>number of iterations</DL>
|
|
263 </DD>
|
|
264 </DL>
|
|
265 <HR>
|
|
266
|
|
267 <A NAME="setMaxEvaluations(int)"><!-- --></A><H3>
|
|
268 setMaxEvaluations</H3>
|
|
269 <PRE>
|
|
270 void <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.54"><B>setMaxEvaluations</B></A>(int maxEvaluations)</PRE>
|
|
271 <DL>
|
|
272 <DD>Set the maximal number of functions evaluations.
|
|
273 <P>
|
|
274 <DD><DL>
|
|
275 <DT><B>Parameters:</B><DD><CODE>maxEvaluations</CODE> - maximal number of function evaluations</DL>
|
|
276 </DD>
|
|
277 </DL>
|
|
278 <HR>
|
|
279
|
|
280 <A NAME="getMaxEvaluations()"><!-- --></A><H3>
|
|
281 getMaxEvaluations</H3>
|
|
282 <PRE>
|
|
283 int <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.59"><B>getMaxEvaluations</B></A>()</PRE>
|
|
284 <DL>
|
|
285 <DD>Get the maximal number of functions evaluations.
|
|
286 <P>
|
|
287 <DD><DL>
|
|
288
|
|
289 <DT><B>Returns:</B><DD>maximal number of functions evaluations</DL>
|
|
290 </DD>
|
|
291 </DL>
|
|
292 <HR>
|
|
293
|
|
294 <A NAME="getEvaluations()"><!-- --></A><H3>
|
|
295 getEvaluations</H3>
|
|
296 <PRE>
|
|
297 int <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.70"><B>getEvaluations</B></A>()</PRE>
|
|
298 <DL>
|
|
299 <DD>Get the number of evaluations of the objective function.
|
|
300 <p>
|
|
301 The number of evaluation correspond to the last call to the
|
|
302 <A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#optimize(org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction, double[], double[], double[])"><CODE>optimize</CODE></A> method. It is 0 if
|
|
303 the method has not been called yet.
|
|
304 </p>
|
|
305 <P>
|
|
306 <DD><DL>
|
|
307
|
|
308 <DT><B>Returns:</B><DD>number of evaluations of the objective function</DL>
|
|
309 </DD>
|
|
310 </DL>
|
|
311 <HR>
|
|
312
|
|
313 <A NAME="getJacobianEvaluations()"><!-- --></A><H3>
|
|
314 getJacobianEvaluations</H3>
|
|
315 <PRE>
|
|
316 int <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.81"><B>getJacobianEvaluations</B></A>()</PRE>
|
|
317 <DL>
|
|
318 <DD>Get the number of evaluations of the objective function jacobian .
|
|
319 <p>
|
|
320 The number of evaluation correspond to the last call to the
|
|
321 <A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#optimize(org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction, double[], double[], double[])"><CODE>optimize</CODE></A> method. It is 0 if
|
|
322 the method has not been called yet.
|
|
323 </p>
|
|
324 <P>
|
|
325 <DD><DL>
|
|
326
|
|
327 <DT><B>Returns:</B><DD>number of evaluations of the objective function jacobian</DL>
|
|
328 </DD>
|
|
329 </DL>
|
|
330 <HR>
|
|
331
|
|
332 <A NAME="setConvergenceChecker(org.apache.commons.math.optimization.VectorialConvergenceChecker)"><!-- --></A><H3>
|
|
333 setConvergenceChecker</H3>
|
|
334 <PRE>
|
|
335 void <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.86"><B>setConvergenceChecker</B></A>(<A HREF="../../../../../org/apache/commons/math/optimization/VectorialConvergenceChecker.html" title="interface in org.apache.commons.math.optimization">VectorialConvergenceChecker</A> checker)</PRE>
|
|
336 <DL>
|
|
337 <DD>Set the convergence checker.
|
|
338 <P>
|
|
339 <DD><DL>
|
|
340 <DT><B>Parameters:</B><DD><CODE>checker</CODE> - object to use to check for convergence</DL>
|
|
341 </DD>
|
|
342 </DL>
|
|
343 <HR>
|
|
344
|
|
345 <A NAME="getConvergenceChecker()"><!-- --></A><H3>
|
|
346 getConvergenceChecker</H3>
|
|
347 <PRE>
|
|
348 <A HREF="../../../../../org/apache/commons/math/optimization/VectorialConvergenceChecker.html" title="interface in org.apache.commons.math.optimization">VectorialConvergenceChecker</A> <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.91"><B>getConvergenceChecker</B></A>()</PRE>
|
|
349 <DL>
|
|
350 <DD>Get the convergence checker.
|
|
351 <P>
|
|
352 <DD><DL>
|
|
353
|
|
354 <DT><B>Returns:</B><DD>object used to check for convergence</DL>
|
|
355 </DD>
|
|
356 </DL>
|
|
357 <HR>
|
|
358
|
|
359 <A NAME="optimize(org.apache.commons.math.analysis.DifferentiableMultivariateVectorialFunction, double[], double[], double[])"><!-- --></A><H3>
|
|
360 optimize</H3>
|
|
361 <PRE>
|
|
362 <A HREF="../../../../../org/apache/commons/math/optimization/VectorialPointValuePair.html" title="class in org.apache.commons.math.optimization">VectorialPointValuePair</A> <A HREF="../../../../../src-html/org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html#line.109"><B>optimize</B></A>(<A HREF="../../../../../org/apache/commons/math/analysis/DifferentiableMultivariateVectorialFunction.html" title="interface in org.apache.commons.math.analysis">DifferentiableMultivariateVectorialFunction</A> f,
|
|
363 double[] target,
|
|
364 double[] weights,
|
|
365 double[] startPoint)
|
|
366 throws <A HREF="../../../../../org/apache/commons/math/FunctionEvaluationException.html" title="class in org.apache.commons.math">FunctionEvaluationException</A>,
|
|
367 <A HREF="../../../../../org/apache/commons/math/optimization/OptimizationException.html" title="class in org.apache.commons.math.optimization">OptimizationException</A>,
|
|
368 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></PRE>
|
|
369 <DL>
|
|
370 <DD>Optimizes an objective function.
|
|
371 <p>
|
|
372 Optimization is considered to be a weighted least-squares minimization.
|
|
373 The cost function to be minimized is
|
|
374 ∑weight<sub>i</sub>(objective<sub>i</sub>-target<sub>i</sub>)<sup>2</sup>
|
|
375 </p>
|
|
376 <P>
|
|
377 <DD><DL>
|
|
378 <DT><B>Parameters:</B><DD><CODE>f</CODE> - objective function<DD><CODE>target</CODE> - target value for the objective functions at optimum<DD><CODE>weights</CODE> - weight for the least squares cost computation<DD><CODE>startPoint</CODE> - the start point for optimization
|
|
379 <DT><B>Returns:</B><DD>the point/value pair giving the optimal value for objective function
|
|
380 <DT><B>Throws:</B>
|
|
381 <DD><CODE><A HREF="../../../../../org/apache/commons/math/FunctionEvaluationException.html" title="class in org.apache.commons.math">FunctionEvaluationException</A></CODE> - if the objective function throws one during
|
|
382 the search
|
|
383 <DD><CODE><A HREF="../../../../../org/apache/commons/math/optimization/OptimizationException.html" title="class in org.apache.commons.math.optimization">OptimizationException</A></CODE> - if the algorithm failed to converge
|
|
384 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the start point dimension is wrong</DL>
|
|
385 </DD>
|
|
386 </DL>
|
|
387 <!-- ========= END OF CLASS DATA ========= -->
|
|
388 <HR>
|
|
389
|
|
390
|
|
391 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
392 <A NAME="navbar_bottom"><!-- --></A>
|
|
393 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
394 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
395 <TR>
|
|
396 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
397 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
398 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
399 <TR ALIGN="center" VALIGN="top">
|
|
400 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
401 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
402 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
403 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DifferentiableMultivariateVectorialOptimizer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
404 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
405 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
406 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
407 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
408 </TR>
|
|
409 </TABLE>
|
|
410 </TD>
|
|
411 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
412 </EM>
|
|
413 </TD>
|
|
414 </TR>
|
|
415
|
|
416 <TR>
|
|
417 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
418 <A HREF="../../../../../org/apache/commons/math/optimization/DifferentiableMultivariateRealOptimizer.html" title="interface in org.apache.commons.math.optimization"><B>PREV CLASS</B></A>
|
|
419 <A HREF="../../../../../org/apache/commons/math/optimization/GoalType.html" title="enum in org.apache.commons.math.optimization"><B>NEXT CLASS</B></A></FONT></TD>
|
|
420 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
421 <A HREF="../../../../../index.html?org/apache/commons/math/optimization/DifferentiableMultivariateVectorialOptimizer.html" target="_top"><B>FRAMES</B></A>
|
|
422 <A HREF="DifferentiableMultivariateVectorialOptimizer.html" target="_top"><B>NO FRAMES</B></A>
|
|
423 <SCRIPT type="text/javascript">
|
|
424 <!--
|
|
425 if(window==top) {
|
|
426 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
427 }
|
|
428 //-->
|
|
429 </SCRIPT>
|
|
430 <NOSCRIPT>
|
|
431 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
432 </NOSCRIPT>
|
|
433
|
|
434
|
|
435 </FONT></TD>
|
|
436 </TR>
|
|
437 <TR>
|
|
438 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
439 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
440 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
441 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
442 </TR>
|
|
443 </TABLE>
|
|
444 <A NAME="skip-navbar_bottom"></A>
|
|
445 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
446
|
|
447 <HR>
|
|
448 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
449 </BODY>
|
|
450 </HTML>
|