ADMB Documentation  11.5.3197
 All Classes Files Functions Variables Typedefs Friends Defines
model37.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id$
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007 #include <admodel.h>
00008 
00009   dvariable function_minimizer::user_randeff(const dvar_vector& x)
00010   {
00011     cout << "You must define the function user_randeff in your TPL"
00012       " file to use the random effects optimization" << endl;
00013     ad_exit(1);
00014 
00015     dvariable u;
00016     return u;
00017   }
00018   dvar_vector function_minimizer::user_dfrandeff(const dvar_vector& x)
00019   {
00020     cout << "You must define the function user_dfrandeff in your TPL"
00021       " file to use the random effects optimization" << endl;
00022     ad_exit(1);
00023     dvar_vector u;
00024     return u;
00025   }
00026   dvar_matrix function_minimizer::user_d2frandeff(const dvar_vector& x)
00027   {
00028     cout << "You must define the function user_d2frandeff in your TPL"
00029       " file to use the random effects optimization" << endl;
00030     ad_exit(1);
00031     dvar_matrix u;
00032     return u;
00033   }