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

Add more context to the constrains? #1

Closed
tomaszpolanski opened this issue Dec 19, 2017 · 5 comments
Closed

Add more context to the constrains? #1

tomaszpolanski opened this issue Dec 19, 2017 · 5 comments

Comments

@tomaszpolanski
Copy link

Thanks for the project, it's quite enlightening!

Would it be possible to add some more information about the constraints?
For example variables in // 2 <= E - S are not clear.
It would be great for ScheduleEntities.kt have also similar descriptions as Model.kt (which is pretty clear).
Similar thing with val discreteLength = (hoursLength * 4).toInt() - what is 4 here?

Again, thanks for teaching us, normal developers, a more scientific approach to development!

@thomasnield
Copy link
Owner

thomasnield commented Dec 20, 2017

Thanks @tomaszpolanski, glad you find this engaging. I'm actually posting examples here for this book I'm reading and recommending to folks.

I will see if I can improve the descriptions, although I'm not done with this project yet and I may improve it over Christmas break (I need to prevent overlap as discrete values, not linear). One thing I'd like to see is KotlinDocs support MathJax, which I filed a KEEP for. I know there is a way to do it now but it requires a lot of hacky build configuration.

@thomasnield
Copy link
Owner

I just overhauled this model and I got it working. I will document it more thoroughly in the coming week, and I'm also going to write a blog article about how I did this.

@tomaszpolanski
Copy link
Author

Thanks for that! I hope the post will be as good as Linear Programming Part I

@thomasnield
Copy link
Owner

@tomaszpolanski it will be better. I've figured out some ways to simplify the problem greatly and make it perform faster.

@thomasnield
Copy link
Owner

Hopefully this is well-documented now. I even wrote a blog article about this.
http://tomstechnicalblog.blogspot.com/2018/02/linear-programming-with-kotlin-part-iii.html

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