-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
230916.003039.HKT modify the c examples: set
maxfun=200*n
, remove t…
…he initialization of `nf`, correct the printing of `eval` in lincoa, rename `t_large.c` to `stress.c`, revise `maxfun` for cobyla in the stress test
- Loading branch information
1 parent
888e185
commit eb5707c
Showing
7 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
add_executable(t_large EXCLUDE_FROM_ALL t_large.c) | ||
add_executable(stress EXCLUDE_FROM_ALL stress.c) | ||
if (PRIMA_ENABLE_TESTING) | ||
set_target_properties (t_large PROPERTIES EXCLUDE_FROM_ALL FALSE) | ||
set_target_properties (stress PROPERTIES EXCLUDE_FROM_ALL FALSE) | ||
endif () | ||
if (WIN32) | ||
set_target_properties(t_large PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) | ||
set_target_properties(stress PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) | ||
endif() | ||
add_dependencies(tests t_large) | ||
add_dependencies(tests stress) | ||
|
||
add_test(NAME bobyqa_large_c COMMAND t_large bobyqa) | ||
add_test(NAME cobyla_large_c COMMAND t_large cobyla) | ||
add_test(NAME lincoa_large_c COMMAND t_large lincoa) | ||
add_test(NAME newuoa_large_c COMMAND t_large newuoa) | ||
add_test(NAME uobyqa_large_c COMMAND t_large uobyqa) | ||
target_link_libraries(t_large PRIVATE primac) | ||
add_test(NAME bobyqa_large_c COMMAND stress bobyqa) | ||
add_test(NAME cobyla_large_c COMMAND stress cobyla) | ||
add_test(NAME lincoa_large_c COMMAND stress lincoa) | ||
add_test(NAME newuoa_large_c COMMAND stress newuoa) | ||
add_test(NAME uobyqa_large_c COMMAND stress uobyqa) | ||
target_link_libraries(stress PRIVATE primac) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters