jrPhD / jrPhD/OpenLoopBalanceControl
OLDC_solver.py no longer runs to completion
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
With python OLDC_Solver.py I get:
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
File ~/src/OpenLoopBalanceControl/OLDC_Solver.py:862
858 ids.TEST(res_path)
860 print(ids.data.x)
--> 862 ids.load_results_for_initial_guess(res_path)
863 ids.solve_and_save()
864 ids.plot_results()
File ~/src/OpenLoopBalanceControl/OLDC_Solver.py:595, in OLDC_Solver.load_results_for_initial_guess(self, results_path)
592 def load_results_for_initial_guess(self, results_path):
--> 595 with open(f'{results_path}.pkl', 'rb') as file:
596 dict_loaded = pickle.load(file)
598 self.initial_guess = dict_loaded['solution']
FileNotFoundError: [Errno 2] No such file or directory: 'results/2025_10_07_22_28_32_part_4_trial_54/2025_10_07_22_28_32_part_4_trial_54.pkl'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run python OLDC_Solver.py and inspect OLDC_Solver.py, especially load_results_for_initial_guess around line 595 and the call near line 862. Trace why the referenced results pickle is unavailable, then verify that the script runs past this call to completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100