Math-NLopt

 view release on metacpan or  search on metacpan

lib/Math/NLopt.pm  view on Meta::CPAN

objective function is available via the L</last_aptimum_value> method.

=head2 remove_equality_constraints

  $opt->remove_equality_constraints;

=head2 remove_inequality_constraints

  $opt->remove_inequality_constraints;

=head2 set_force_stop

  $opt->set_force_stop( $val );

=head2 set_ftol_abs

  $opt->set_ftol_abs( $tol );

=head2 set_ftol_rel

  $opt->set_ftol_rel( $tol );

=head2 set_initial_step

  $opt->set_initial_step(\@dx);

C<@dx> has length C<$n>.

=head2 set_initial_step1

  $opt->set_initial_step1( $dx );

=head2 set_local_optimizer

  $opt->set_local_optmizer( $local_opt );

=head2 set_lower_bound

  $opt->set_lower_bound( $i, $ub );

Set the lower bound for parameter C<$i> (zero based) to C<$ub>

=head2 set_lower_bounds

  $opt->set_lower_bounds(\@ub);

C<@ub> has length C<$n>.

=head2 set_lower_bounds1

  $opt->set_lower_bounds1 ($ub);

=head2 set_max_objective

  $opt->set_max_objective( \&func, ?$data );

See L<Objective Functions>

=head2 set_maxeval

   $opt->set_maxeval( $max_iterations );

=head2 set_maxtime

   $opt->set_maxtime( $time );

=head2 set_min_objective

  $opt->set_min_objective( \&func, ?$data );

See L<Objective Functions>

=head2 set_param

  $opt->set_param( $name, $value );

=head2 set_population

  $opt->set_population( $pop );

=head2 set_precond_max_objective

  $opt->set_precond_max_objective( \&func, \&precond, ?$data);

See L</Preconditioned Objectives>

=head2 set_precond_min_objective

  $opt->set_precond_min_objective( \&func, \&precond, ?$data);

See L</Preconditioned Objectives>

=head2 set_stopval

  $opt->set_stopval( $stopval);

=head2 set_upper_bound

  $opt->set_upper_bound( $i, $ub );

Set the upper bound for parameter C<$i> (zero based) to C<$ub>

=head2 set_upper_bounds

  $opt->set_upper_bounds(\@ub);

C<@ub> has length C<$n>.

=head2 set_upper_bounds1

  $opt->set_upper_bounds1 ($ub);

=head2 set_vector_storage

  $opt->set_vector_storage( $dim )

=head2 set_x_weights

  $opt->set_x_weights( \@weights );

C<@weights> has length C<$n>.



( run in 0.728 second using v1.01-cache-2.11-cpan-71847e10f99 )