Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: HiGHS solution status could not be retrieved #25

Open
ishankholkar opened this issue Oct 11, 2022 · 1 comment
Open

RuntimeError: HiGHS solution status could not be retrieved #25

ishankholkar opened this issue Oct 11, 2022 · 1 comment
Labels
question Further information is requested

Comments

@ishankholkar
Copy link

Hello sir,

Hope you are doing well.

I have followed the installation guidelines and installed after cloning the package.

When i run any of the given examples in the repository, i get the below error. Request you to kindly help me resolve the error.

Thank you...

(base) C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo>conda activate mesmo

(mesmo) C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo>"C:/Users/Ishan Kholkar/anaconda3/envs/mesmo/python.exe" "c:/Users/Ishan Kholkar/Desktop/smartgrid/mesmo/examples/tutorial/example_3.py"
File "C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\mesmo\solutions.py", line 1218, in solve_highs
status = next(line for line in output if line.startswith("Model status : "))
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "c:/Users/Ishan Kholkar/Desktop/smartgrid/mesmo/examples/tutorial/example_3.py", line 54, in
main()
File "c:/Users/Ishan Kholkar/Desktop/smartgrid/mesmo/examples/tutorial/example_3.py", line 45, in main
optimization_problem.solve()
File "C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\mesmo\solutions.py", line 1054, in solve
self.solve_highs()
File "C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\mesmo\solutions.py", line 1221, in solve_highs
raise RuntimeError(f"HiGHS solution status could not be retrieved:\n{command}\n{''.join(output)}")
RuntimeError: HiGHS solution status could not be retrieved:
C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\highs\bin\highs --model_file C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\results\temp_2022-10-11_17-30-49_318556\problem.mps --options_file C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\results\temp_2022-10-11_17-30-49_318556\options.txt --solution_file C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo\results\temp_2022-10-11_17-30-49_318556\solution.txt
'C:\Users\Ishan' is not recognized as an internal or external command,
operable program or batch file.

(mesmo) C:\Users\Ishan Kholkar\Desktop\smartgrid\mesmo>

@stroitzsch
Copy link
Contributor

Hi there, just picking up the work here.

Is this still an issue & should I look into it, or is it out of date?

@stroitzsch stroitzsch added the question Further information is requested label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants