1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Tao/TaoCreate.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>TaoCreate</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.10.3 2018-12-18</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.10.3 v3.10.3 docs/manualpages/Tao/TaoCreate.html "><small>Report Typos and Errors</small></a></div>
<A NAME="TaoCreate"><H1>TaoCreate</H1></A>
Creates a TAO solver
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petsctao.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../Tao/TaoCreate.html#TaoCreate">TaoCreate</A>(<A HREF="../Sys/MPI_Comm.html#MPI_Comm">MPI_Comm</A> comm, <A HREF="../Tao/Tao.html#Tao">Tao</A> *newtao)
</PRE>
Collective on <A HREF="../Sys/MPI_Comm.html#MPI_Comm">MPI_Comm</A>
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<DT><B>comm </B> -MPI communicator
<br>
<P>
<H3><FONT COLOR="#CC3333">Output Parameter</FONT></H3>
<DT><B>newtao </B> -the new <A HREF="../Tao/Tao.html#Tao">Tao</A> context
<br>
<P>
<H3><FONT COLOR="#CC3333">Available methods include</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>nls </B></TD><TD>- Newton's method with line search for unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ntr </B></TD><TD>- Newton's method with trust region for unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>ntl </B></TD><TD>- Newton's method with trust region, line search for unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>lmvm </B></TD><TD>- Limited memory variable metric method for unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>cg </B></TD><TD>- Nonlinear conjugate gradient method for unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>nm </B></TD><TD>- Nelder-Mead algorithm for derivate-free unconstrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>tron </B></TD><TD>- Newton Trust Region method for bound constrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>gpcg </B></TD><TD>- Newton Trust Region method for quadratic bound constrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>blmvm </B></TD><TD>- Limited memory variable metric method for bound constrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>lcl </B></TD><TD>- Linearly constrained Lagrangian method for pde-constrained minimization
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>pounders </B></TD><TD>- Model-based algorithm for nonlinear least squares
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<DT><B>-tao_type </B> -select which method TAO should use
<br>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Tao/TaoSolve.html#TaoSolve">TaoSolve</A>(), <A HREF="../Tao/TaoDestroy.html#TaoDestroy">TaoDestroy</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/tao/interface/taosolver.c.html#TaoCreate">src/tao/interface/taosolver.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/ts/examples/tutorials/ex16opt_p.c.html">src/ts/examples/tutorials/ex16opt_p.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex16opt_ic.c.html">src/ts/examples/tutorials/ex16opt_ic.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20opt_p.c.html">src/ts/examples/tutorials/ex20opt_p.c.html</A><BR>
<A HREF="../../../src/ts/examples/tutorials/ex20opt_ic.c.html">src/ts/examples/tutorials/ex20opt_ic.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/eptorsion1.c.html">src/tao/unconstrained/examples/tutorials/eptorsion1.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/eptorsion2.c.html">src/tao/unconstrained/examples/tutorials/eptorsion2.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/minsurf2.c.html">src/tao/unconstrained/examples/tutorials/minsurf2.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/rosenbrock1.c.html">src/tao/unconstrained/examples/tutorials/rosenbrock1.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html">src/tao/unconstrained/examples/tutorials/spectraladjointassimilation.c.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/eptorsion2f.F.html">src/tao/unconstrained/examples/tutorials/eptorsion2f.F.html</A><BR>
<A HREF="../../../src/tao/unconstrained/examples/tutorials/rosenbrock1f.F90.html">src/tao/unconstrained/examples/tutorials/rosenbrock1f.F90.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/tao/bound/impls/blmvm/blmvm.c.html#TaoCreate_BLMVM">TaoCreate_BLMVM in src/tao/bound/impls/blmvm/blmvm.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bncg/bncg.c.html#TaoCreate_BNCG">TaoCreate_BNCG in src/tao/bound/impls/bncg/bncg.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bnk/bnk.c.html#TaoCreate_BNK">TaoCreate_BNK in src/tao/bound/impls/bnk/bnk.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bnk/bnls.c.html#TaoCreate_BNLS">TaoCreate_BNLS in src/tao/bound/impls/bnk/bnls.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bnk/bntl.c.html#TaoCreate_BNTL">TaoCreate_BNTL in src/tao/bound/impls/bnk/bntl.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bnk/bntr.c.html#TaoCreate_BNTR">TaoCreate_BNTR in src/tao/bound/impls/bnk/bntr.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bqnk/bqnk.c.html#TaoCreate_BQNK">TaoCreate_BQNK in src/tao/bound/impls/bqnk/bqnk.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bqnk/bqnkls.c.html#TaoCreate_BQNKLS">TaoCreate_BQNKLS in src/tao/bound/impls/bqnk/bqnkls.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bqnk/bqnktl.c.html#TaoCreate_BQNKTL">TaoCreate_BQNKTL in src/tao/bound/impls/bqnk/bqnktl.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bqnk/bqnktr.c.html#TaoCreate_BQNKTR">TaoCreate_BQNKTR in src/tao/bound/impls/bqnk/bqnktr.c</A><BR>
<A HREF="../../../src/tao/bound/impls/bqnls/bqnls.c.html#TaoCreate_BQNLS">TaoCreate_BQNLS in src/tao/bound/impls/bqnls/bqnls.c</A><BR>
<A HREF="../../../src/tao/bound/impls/tron/tron.c.html#TaoCreate_TRON">TaoCreate_TRON in src/tao/bound/impls/tron/tron.c</A><BR>
<A HREF="../../../src/tao/complementarity/impls/asls/asfls.c.html#TaoCreate_ASFLS">TaoCreate_ASFLS in src/tao/complementarity/impls/asls/asfls.c</A><BR>
<A HREF="../../../src/tao/complementarity/impls/asls/asils.c.html#TaoCreate_ASILS">TaoCreate_ASILS in src/tao/complementarity/impls/asls/asils.c</A><BR>
<A HREF="../../../src/tao/complementarity/impls/ssls/ssfls.c.html#TaoCreate_SSFLS">TaoCreate_SSFLS in src/tao/complementarity/impls/ssls/ssfls.c</A><BR>
<A HREF="../../../src/tao/complementarity/impls/ssls/ssils.c.html#TaoCreate_SSILS">TaoCreate_SSILS in src/tao/complementarity/impls/ssls/ssils.c</A><BR>
<A HREF="../../../src/tao/constrained/impls/ipm/ipm.c.html#TaoCreate_IPM">TaoCreate_IPM in src/tao/constrained/impls/ipm/ipm.c</A><BR>
<A HREF="../../../src/tao/leastsquares/impls/pounders/pounders.c.html#TaoCreate_POUNDERS">TaoCreate_POUNDERS in src/tao/leastsquares/impls/pounders/pounders.c</A><BR>
<A HREF="../../../src/tao/pde_constrained/impls/lcl/lcl.c.html#TaoCreate_LCL">TaoCreate_LCL in src/tao/pde_constrained/impls/lcl/lcl.c</A><BR>
<A HREF="../../../src/tao/quadratic/impls/bqpip/bqpip.c.html#TaoCreate_BQPIP">TaoCreate_BQPIP in src/tao/quadratic/impls/bqpip/bqpip.c</A><BR>
<A HREF="../../../src/tao/quadratic/impls/gpcg/gpcg.c.html#TaoCreate_GPCG">TaoCreate_GPCG in src/tao/quadratic/impls/gpcg/gpcg.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/bmrm/bmrm.c.html#TaoCreate_BMRM">TaoCreate_BMRM in src/tao/unconstrained/impls/bmrm/bmrm.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/cg/taocg.c.html#TaoCreate_CG">TaoCreate_CG in src/tao/unconstrained/impls/cg/taocg.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/lmvm/lmvm.c.html#TaoCreate_LMVM">TaoCreate_LMVM in src/tao/unconstrained/impls/lmvm/lmvm.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/neldermead/neldermead.c.html#TaoCreate_NM">TaoCreate_NM in src/tao/unconstrained/impls/neldermead/neldermead.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/nls/nls.c.html#TaoCreate_NLS">TaoCreate_NLS in src/tao/unconstrained/impls/nls/nls.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/ntl/ntl.c.html#TaoCreate_NTL">TaoCreate_NTL in src/tao/unconstrained/impls/ntl/ntl.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/ntr/ntr.c.html#TaoCreate_NTR">TaoCreate_NTR in src/tao/unconstrained/impls/ntr/ntr.c</A><BR>
<A HREF="../../../src/tao/unconstrained/impls/owlqn/owlqn.c.html#TaoCreate_OWLQN">TaoCreate_OWLQN in src/tao/unconstrained/impls/owlqn/owlqn.c</A><BR>
<BR><A HREF="./index.html">Index of all Tao routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|