Skip to content

Commit 06a394e

Browse files
committed
Gpu objectives pdlp
1 parent e595f44 commit 06a394e

File tree

1 file changed

+34
-15
lines changed

1 file changed

+34
-15
lines changed

check/CMakeLists.txt

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -277,22 +277,41 @@ if ((NOT FAST_BUILD OR ALL_TESTS) AND NOT (BUILD_EXTRA_UNIT_ONLY))
277277
"standgub\; 1.25769949\;"
278278
)
279279
else()
280+
if (CUPDLP_GPU)
281+
set(pdlpInstances
282+
"25fv47\; 5.5018549\;"
283+
"adlittle\; 2.254950\;"
284+
"afiro\;-4.6475325\;"
285+
"avgas\;-7.75000038\;"
286+
"blending\;-3.19999999\;"
287+
"chip\;-9.0000000\;"
288+
"e226\;-1.16389258\;"
289+
"scrs8\; 9.0429623\;"
290+
"sctest\; 5.750000001\;"
291+
"shell\; 1.20882535\;"
292+
"stair\;-2.5126695\;"
293+
"standata\; 1.25769951\;"
294+
"standgub\; 1.2576993\;"
295+
)
296+
endif()
280297
# CUPDLP_GPU or CPU with native termination.
281-
set(pdlpInstances
282-
"25fv47\; 5.5018360\;"
283-
"adlittle\; 2.254953\;"
284-
"afiro\;-4.64753126\;"
285-
"avgas\;-7.75000038\;"
286-
"blending\;-3.19999999\;"
287-
"chip\;-9.000000020\;"
288-
"e226\;-1.163892070\;"
289-
"scrs8\; 9.042970154\;"
290-
"sctest\; 5.750000001\;"
291-
"shell\; 1.2088253471\;"
292-
"stair\;-2.512669020\;"
293-
"standata\; 1.257699155\;"
294-
"standgub\; 1.257700132\;"
295-
)
298+
if (CUPDLP_FORCE_NATIVE)
299+
set(pdlpInstances
300+
"25fv47\; 5.5018360\;"
301+
"adlittle\; 2.254953\;"
302+
"afiro\;-4.64753126\;"
303+
"avgas\;-7.75000038\;"
304+
"blending\;-3.19999999\;"
305+
"chip\;-9.000000020\;"
306+
"e226\;-1.163892070\;"
307+
"scrs8\; 9.042970154\;"
308+
"sctest\; 5.750000001\;"
309+
"shell\; 1.2088253471\;"
310+
"stair\;-2.512669020\;"
311+
"standata\; 1.257699155\;"
312+
"standgub\; 1.257700132\;"
313+
)
314+
endif()
296315
endif()
297316
elseif(WIN32)
298317
# on windows e226 model status is unknown

0 commit comments

Comments
 (0)