-
Notifications
You must be signed in to change notification settings - Fork 8
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
implement callbacks to make problem modification pretty #53
Conversation
This depends on the previous PR right? can we mark the target branch accordingly? (so that the changes aren't mixed) |
yes, done! |
Despite you telling me exactly what to do, I think this is going to push my git skills to the next level 😁 |
So I made many changes in commit
|
The next step is to get pretty macros working, currently I am trying to get this to work: @flux_balance_analysis_vec model Tulip.Optimizer begin
modify_objective(biomass)
modify_constraint(glucose, -8.0, -8.0)
end Unfortunately, I got stuck here trying to get the modification macro working :( |
I got this working! However, I stopped adding stuff to this PR since it was getting out of hand. Once it's merged I will make a new one and add more cool macros. Then we will be well on our way to making something amazing even more amazing :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my replies
nice work 🎉 |
implement callbacks to make problem modification pretty
Problem modification needs to be streamlined
change constraints, solver options, objectives etc. in a nice, extendable way