[353] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
| 2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
| 3 | <title>mixpp: Numerical Optimization Module</title> |
---|
| 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
| 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 6 | </head><body> |
---|
| 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
| 8 | <script type="text/javascript"> |
---|
| 9 | <!-- |
---|
| 10 | function changeDisplayState (e){ |
---|
| 11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
| 12 | var button=this.firstChild; |
---|
| 13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
| 14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
| 15 | sectionDiv.style.display='block'; |
---|
| 16 | button.src='open.gif'; |
---|
| 17 | }else{ |
---|
| 18 | sectionDiv.style.display='none'; |
---|
| 19 | button.src='closed.gif'; |
---|
| 20 | } |
---|
| 21 | } |
---|
| 22 | function initDynSections(){ |
---|
| 23 | var divs=document.getElementsByTagName('div'); |
---|
| 24 | var sectionCounter=1; |
---|
| 25 | for(var i=0;i<divs.length-1;i++){ |
---|
| 26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
| 27 | var header=divs[i]; |
---|
| 28 | var section=divs[i+1]; |
---|
| 29 | var button=header.firstChild; |
---|
| 30 | if (button!='IMG'){ |
---|
| 31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
| 32 | button=document.createElement('img'); |
---|
| 33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
| 34 | } |
---|
| 35 | header.style.cursor='pointer'; |
---|
| 36 | header.onclick=changeDisplayState; |
---|
| 37 | header.id='dynheader'+sectionCounter; |
---|
| 38 | button.src='closed.gif'; |
---|
| 39 | section.id='dynsection'+sectionCounter; |
---|
| 40 | section.style.display='none'; |
---|
| 41 | section.style.marginLeft='14px'; |
---|
| 42 | sectionCounter++; |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | window.onload = initDynSections; |
---|
| 47 | --> |
---|
| 48 | </script> |
---|
| 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
| 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
| 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
| 54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
| 55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
| 56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 57 | </ul> |
---|
| 58 | </div> |
---|
| 59 | </div> |
---|
| 60 | <div class="contents"> |
---|
| 61 | <h1>Numerical Optimization Module</h1>Numerical optimization routines. |
---|
| 62 | <a href="#_details">More...</a> |
---|
| 63 | <p> |
---|
| 64 | <table border="0" cellpadding="0" cellspacing="0"> |
---|
| 65 | <tr><td></td></tr> |
---|
| 66 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
| 67 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Newton__Search.html">itpp::Newton_Search</a></td></tr> |
---|
| 68 | |
---|
| 69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Newton Search. <a href="classitpp_1_1Newton__Search.html#_details">More...</a><br></td></tr> |
---|
| 70 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Line__Search.html">itpp::Line_Search</a></td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Line Search. <a href="classitpp_1_1Line__Search.html#_details">More...</a><br></td></tr> |
---|
| 73 | <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> |
---|
| 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group__optimization.html#g08746316b0b24694973fcb008de0f0e1">itpp::Newton_Search_Method</a> { <b>BFGS</b> |
---|
| 75 | }</td></tr> |
---|
| 76 | |
---|
| 77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Newton Search method. <br></td></tr> |
---|
| 78 | <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="group__optimization.html#g1f546a6d17b2c74304b3624bc7b7e9e9">itpp::Line_Search_Method</a> { <b>Soft</b>, |
---|
| 79 | <b>Exact</b> |
---|
| 80 | }</td></tr> |
---|
| 81 | |
---|
| 82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Line Search method. <br></td></tr> |
---|
| 83 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__optimization.html#g1d1cf6b1f01e40c563123289658ddc8d">itpp::fminunc</a> (double(*function)(const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> &), <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a>(*gradient)(const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> &), const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> &x0)</td></tr> |
---|
| 85 | |
---|
| 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Unconstrained minimization. <a href="#g1d1cf6b1f01e40c563123289658ddc8d"></a><br></td></tr> |
---|
| 87 | </table> |
---|
| 88 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 89 | Numerical optimization routines. <hr><h2>Function Documentation</h2> |
---|
| 90 | <a class="anchor" name="g1d1cf6b1f01e40c563123289658ddc8d"></a><!-- doxytag: member="itpp::fminunc" ref="g1d1cf6b1f01e40c563123289658ddc8d" args="(double(*function)(const vec &), vec(*gradient)(const vec &), const vec &x0)" --> |
---|
| 91 | <div class="memitem"> |
---|
| 92 | <div class="memproto"> |
---|
| 93 | <table class="memname"> |
---|
| 94 | <tr> |
---|
| 95 | <td class="memname"><a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> itpp::fminunc </td> |
---|
| 96 | <td>(</td> |
---|
| 97 | <td class="paramtype">double(*)(const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> &) </td> |
---|
| 98 | <td class="paramname"> <em>function</em>, </td> |
---|
| 99 | </tr> |
---|
| 100 | <tr> |
---|
| 101 | <td class="paramkey"></td> |
---|
| 102 | <td></td> |
---|
| 103 | <td class="paramtype"><a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a>(*)(const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> &) </td> |
---|
| 104 | <td class="paramname"> <em>gradient</em>, </td> |
---|
| 105 | </tr> |
---|
| 106 | <tr> |
---|
| 107 | <td class="paramkey"></td> |
---|
| 108 | <td></td> |
---|
| 109 | <td class="paramtype">const <a class="el" href="classitpp_1_1Vec.html#02e1bb55f60f3c2eb7a020eb1c2cfcf4">vec</a> & </td> |
---|
| 110 | <td class="paramname"> <em>x0</em></td><td> </td> |
---|
| 111 | </tr> |
---|
| 112 | <tr> |
---|
| 113 | <td></td> |
---|
| 114 | <td>)</td> |
---|
| 115 | <td></td><td></td><td></td> |
---|
| 116 | </tr> |
---|
| 117 | </table> |
---|
| 118 | </div> |
---|
| 119 | <div class="memdoc"> |
---|
| 120 | |
---|
| 121 | <p> |
---|
| 122 | Unconstrained minimization. |
---|
| 123 | <p> |
---|
| 124 | Unconstrained minimization using a Newton or Quasi-Newton optimization method that try to minimize the objective function <img class="formulaInl" alt="$f(\mathbf{x})$" src="form_323.png"> given an initial guess <img class="formulaInl" alt="$\mathbf{x}$" src="form_324.png">.<p> |
---|
| 125 | The function and the gradient need to be known and supplied.<p> |
---|
| 126 | The default algorithm is a Quasi-Newton search using BFGS updates of the inverse Hessian matrix. |
---|
| 127 | <p>References <a class="el" href="newton__search_8cpp-source.html#l00090">itpp::Newton_Search::search()</a>, and <a class="el" href="newton__search_8h-source.html#l00084">itpp::Newton_Search::set_functions()</a>.</p> |
---|
| 128 | |
---|
| 129 | </div> |
---|
| 130 | </div><p> |
---|
| 131 | </div> |
---|
| 132 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by |
---|
| 133 | <a href="http://www.doxygen.org/index.html"> |
---|
| 134 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
| 135 | </body> |
---|
| 136 | </html> |
---|