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

Solution is not very good #36

Open
xhmywf opened this issue Oct 31, 2024 · 2 comments
Open

Solution is not very good #36

xhmywf opened this issue Oct 31, 2024 · 2 comments

Comments

@xhmywf
Copy link

xhmywf commented Oct 31, 2024

Hello,my problem's optimal integer solution is 116,but using your algorithm is about 226,sometiomes is inf by tuning the parameters.How can I get a good solution(near the optimal solution)?Can you give me some advice?Hope for your answer,thank you very much.

double.zip

@quesnel
Copy link
Owner

quesnel commented Nov 4, 2024

Hello,

I confirm your comments. The default solutions are near 226 and is far from optimum.

Using the optimizer mode (a genetic algorithm to perform mutation/crossover over a population of solutions and parameters), I get better solution (194) but always far from optimum:

baryonyx-0.5.exe -ptime-limit:120 -O double.lp
[...]
Solver finished
Best solution found: 194 in 170 loop and 14.4230481s

I will look at it in more details when I am back at the office.

Thank you for sharing your problem.

@xhmywf
Copy link
Author

xhmywf commented Nov 6, 2024

Thanks for your prompt reply.Looking forward to a better solution from you.Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants