TaoPythonSetType#

Initialize a Tao object implemented in Python.

Synopsis#

#include "petsctao.h" 
PetscErrorCode TaoPythonSetType(Tao tao, const char pyname[])

Collective

Input Parameters#

  • tao - the optimization solver (Tao) context.

  • pyname - full dotted Python name [package].module[.{class|function}]

Options Database Key#

  • -tao_python_type - python class

See Also#

TaoCreate(), TaoSetType(), TAOPYTHON, PetscPythonInitialize()

Level#

intermediate

Location#

src/tao/python/pythontao.c


Edit on GitLab

Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages