G+Smo  23.12.0
Geometry + Simulation Modules
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gsIpOpt< T > Class Template Reference

Detailed Description

template<typename T>
class gismo::gsIpOpt< T >

Class defining an optimization problem.

+ Inheritance diagram for gsIpOpt< T >:
+ Collaboration diagram for gsIpOpt< T >:

Public Member Functions

 gsIpOpt (gsOptProblem< T > *problem)
 
virtual bool intermediateCallback ()
 Callback function is executed after every iteration. Returning false causes premature termination of the optimization.
 
virtual ~gsIpOpt ()
 

Protected Attributes

gsMatrix< T > m_curDesign
 Current design variables (and starting point )
 
gsMatrix< T > m_lambda
 Lagrange multipliers (set in the finalize_solution method)
 
gsOptionList m_options
 Options.
 

Private Member Functions

Methods to block default compiler methods.

The compiler automatically generates the following three methods. Since the default compiler implementation is generally not what you want (for all but the most simple classes), we usually put the declarations of these methods in the private section and never implement them. This prevents the compiler from implementing an incorrect "default" behavior without us knowing. (See e.g. Scott Meyers book, "Effective C++")

 gsIpOpt (const gsIpOpt &)
 
gsIpOptoperator= (const gsIpOpt &)
 

Constructor & Destructor Documentation

gsIpOpt ( gsOptProblem< T > *  problem)

default constructor

~gsIpOpt ( )
virtual

default destructor