Replies: 6 comments 4 replies
-
What is your operating system, and do you want to call HiGHS from an application, or just run the executable? |
Beta Was this translation helpful? Give feedback.
-
Thanks for this. Are you on Windows, MacOS or Linux?
…--
Dr. J. A. Julian Hall, Reader, School of Mathematics,
University of Edinburgh, James Clerk Maxwell Building,
Peter Guthrie Tait Road, EDINBURGH, EH9 3FD, UK.
Room: 5418 Phone: [+44](131) 650 5075 Email: ***@***.***
Web: https://www.maths.ed.ac.uk/school-of-mathematics/people/a-z?person=47
My working hours may not be your working hours. Do not feel pressure to reply to this email outside your working hours.
My pronouns are he/him
________________________________
From: Jamilli Lemos ***@***.***>
Sent: Wednesday, April 5, 2023 1:19:19 PM
To: ERGO-Code/HiGHS ***@***.***>
Cc: Julian Hall ***@***.***>; Comment ***@***.***>
Subject: Re: [ERGO-Code/HiGHS] Problem when compiling and running the code (Discussion #1242)
This email was sent to you by someone outside the University.
You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
Olá, Julian, obrigada pela resposta rápida. Então, eu to fazendo os seguintes passos:
1 - Clono o projeto na máquina;
2 - Vou ao diretório onde clonei;
3 - Utilizo o mkdir build;
4 - Utilizo o cd build;
5 - Faço o cmake --build .
—
Reply to this email directly, view it on GitHub<#1242 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFMWLYZR2PWEPYWVBJ5TAZLW7VPMPANCNFSM6AAAAAAWTNDB6A>.
You are receiving this because you commented.Message ID: ***@***.***>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
|
Beta Was this translation helpful? Give feedback.
-
Sorry, I ended up putting the wrong file here in the discussion. When I try to compile with both make and g++ it gives an error regarding the structure of the project, to be more precise, about how the files are being imported into each other. For example, when I try to compile the MIP solver I get this error: I tried to change the import of some files but it only works when they are in the same folder, for example if it is in the MIP folder, I remove the "mip/" and leave only the file itself and then it works. But when there are files from other folders it also gives the error and I have tried to import in different ways but it always breaks. When I open from Visual Studio I can access everything correctly by clicking with cntrl on the import in the way it comes structured from git. I wonder if I have to change something about the structure in a makefile? |
Beta Was this translation helpful? Give feedback.
-
HiGHS isn't used this way at all. When you run There's a lot more help available in via https://ergo-code.github.io/HiGHS/dev/ If you've been changing the structure of the HiGHS source files, then I suggest that you delete what you've cloned or checked out, and start again. |
Beta Was this translation helpful? Give feedback.
-
Hi, @jajhall, I did what you said and followed the step-by-step and was able to compile from the following form: ./bin/highs --solver=simplex ../check/instances/afiro.mps I saw that the solver options are only simplex and ipm, is there any way to run it using mip as the solver? |
Beta Was this translation helpful? Give feedback.
-
HiGHS uses the MIP solver when the model it has is a MIP.
If you run ./bin/highs ../check/instances/flugpl.mps then, because this is a MIP, you see the MIP solver output. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a problem compiling and running the code. Does anyone have a step-by-step how to compile after cloning the project?
Beta Was this translation helpful? Give feedback.
All reactions