use a time based exeuction limit in example

This commit is contained in:
Davis King 2019-11-28 10:48:02 -05:00
parent 501d17f693
commit f2cd9e3b1d
1 changed files with 2 additions and 1 deletions

View File

@ -304,7 +304,8 @@ int main() try
auto result = find_min_global(complex_holder_table,
{-10,-10}, // lower bounds
{10,10}, // upper bounds
max_function_calls(300));
std::chrono::milliseconds(500) // run this long
);
cout.precision(9);
// These cout statements will show that find_min_global() found the