Go to the documentation of this file.
19 #ifndef MANGO_SOLVER_H
20 #define MANGO_SOLVER_H
virtual void finite_difference_gradient(const double *, double *, double *)
virtual void record_function_evaluation_pointer(const double *, double *, bool)
objective_function_type objective_function
bool centered_differences
virtual void objective_function_wrapper(const double *, double *, bool *)
algorithm_type
A list of the algorithms that MANGO can potentially use.
double finite_difference_step_size
double * best_state_vector
void finite_difference_Jacobian(vector_function_type, int, const double *, double *, double *)
virtual void init_optimization()
double best_objective_function
bool bound_constraints_set
void(* vector_function_type)(int *N_parameters, const double *state_vector, int *N_terms, double *residuals, int *failed, mango::Problem *problem, void *user_data)
Format for the user-supplied subroutine that computes the residuals for a least-squares optimization ...
MPI_Partition * mpi_partition
void evaluate_set_in_parallel(vector_function_type, int, int, double *, double *, bool *)
int max_function_evaluations
std::string output_filename
void(* objective_function_type)(int *N_parameters, const double *state_vector, double *objective_value, int *failed, mango::Problem *problem, void *user_data)
Format for the user-supplied subroutine that computes the objective function for a general (non least...
virtual double optimize(MPI_Partition *)
This C++ namespace contains everything related to MANGO.
static void objective_to_vector_function(int *, const double *, int *, double *, int *, mango::Problem *, void *)
virtual bool record_function_evaluation(const double *, double, bool)
bool at_least_one_success
int max_function_and_gradient_evaluations
A class for dividing the set of MPI processes into worker groups.
virtual void group_leaders_loop()
virtual void set_package()
int best_function_evaluation