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

New, simpler pareto front optimization #133

Merged
merged 28 commits into from Aug 13, 2020
Merged

New, simpler pareto front optimization #133

merged 28 commits into from Aug 13, 2020

Conversation

AlCap23
Copy link
Collaborator

@AlCap23 AlCap23 commented Jul 31, 2020

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Jul 31, 2020

This seems wrong. Locally, the model is recovered. The docs do not recover the model, and tests recover a third one.

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 1, 2020

@ChrisRackauckas
Copy link
Member

Interesting. What are the sources of randomness here? If you set a random seed does it always give the same result, or is it something deeper?

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 5, 2020

AFAIK there is none. That's what's bugging me the most. But I'll try that on Sunday / Monday.

Did you try to run it on your machine by any chance?

I will give this a shot on my old laptop as well, just in case. Even if I think the hardware should not be the issue.

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 11, 2020

I don't know if this is a win, but after changing to Ubuntu 20.04 and Julia 1.5 the test is failing for me as well :).

@ChrisRackauckas
Copy link
Member

Looks like it's good now?

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 12, 2020

Nope. Michaelis is still wrong by a small factor ( and again not on my laptop but just on travis ). See the log of the tests for that.

But in general, yes. This seems to work and is a simple enough way while being flexible.

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 12, 2020

Works! Woohooo!

@ChrisRackauckas
Copy link
Member

what was the trick?

@AlCap23
Copy link
Collaborator Author

AlCap23 commented Aug 12, 2020

Honestly, I do not know yet. I am working towards that.

I added the max convergence to ISindy and ADM, which might help. I do not think that view should have anything to do with that.

This does not explain why it worked locally for me and not on Travis though...


@inbounds for i in 1:size(Ẋ, 1)
@simd for i in 1:size(Ẋ, 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't a simd-able loop. The macro will just be a no-op

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright. I will change that.

@AlCap23 AlCap23 marked this pull request as ready for review August 12, 2020 18:08
@AlCap23 AlCap23 merged commit 0f2fc4f into master Aug 13, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants