Skip to content

Commit df7836d

Browse files
committed
Modify excludelist in s_gtInfo.py (CollectInfo action): include HS problems due to s2mpj update
1 parent dbc6f14 commit df7836d

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/actions/collect_info/s_getInfo.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# 'HS67', 'HS68', 'HS69', 'HS85', 'HS88', 'HS89', 'HS90', 'HS91', 'HS92' are under development and not ready for use
3232
# 'TWIRIBG1' will kill the process if run, so we exclude it
3333
problem_exclude = [
34-
'SPARCO10LS', 'SPARCO10', 'SPARCO11LS', 'SPARCO11', 'SPARCO12LS', 'SPARCO12', 'SPARCO2LS', 'SPARCO2', 'SPARCO3LS', 'SPARCO3', 'SPARCO5LS', 'SPARCO5', 'SPARCO7LS', 'SPARCO7', 'SPARCO8LS', 'SPARCO8', 'SPARCO9LS', 'SPARCO9', 'ROSSIMP3_mp', 'HS67', 'HS68', 'HS69', 'HS85', 'HS88', 'HS89', 'HS90', 'HS91', 'HS92', 'TWIRIBG1'
34+
'SPARCO10LS', 'SPARCO10', 'SPARCO11LS', 'SPARCO11', 'SPARCO12LS', 'SPARCO12', 'SPARCO2LS', 'SPARCO2', 'SPARCO3LS', 'SPARCO3', 'SPARCO5LS', 'SPARCO5', 'SPARCO7LS', 'SPARCO7', 'SPARCO8LS', 'SPARCO8', 'SPARCO9LS', 'SPARCO9', 'ROSSIMP3_mp'
3535
]
3636
problem_names = [name for name in problem_names if name not in problem_exclude]
3737

@@ -202,17 +202,17 @@ def get_problem_info(problem_name, known_feasibility, problem_argins=None):
202202

203203
try:
204204
f = run_with_timeout(p.fun, (p.x0,), timeout)
205-
if problem_name == 'LIN':
206-
info_single['isfeasibility'] = 0
207-
elif np.size(f) == 0 or np.isnan(f) or problem_name in known_feasibility:
205+
# if problem_name == 'LIN':
206+
# info_single['isfeasibility'] = 0
207+
if np.size(f) == 0 or np.isnan(f) or problem_name in known_feasibility:
208208
info_single['isfeasibility'] = 1
209209
feasibility.append(problem_name)
210210
append_to_txt(os.path.join(saving_path, 'feasibility_python_temp.txt'), problem_name)
211211
else:
212212
info_single['isfeasibility'] = 0
213-
if problem_name == 'LIN':
214-
info_single['f0'] = np.nan
215-
elif np.size(f) == 0 or np.isnan(f) or (problem_name in known_feasibility and problem_name != 'HS8'):
213+
# if problem_name == 'LIN':
214+
# info_single['f0'] = np.nan
215+
if np.size(f) == 0 or np.isnan(f) or (problem_name in known_feasibility and problem_name != 'HS8'):
216216
info_single['f0'] = 0
217217
else:
218218
info_single['f0'] = f

0 commit comments

Comments
 (0)