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

Alternative limit: make it possible to set a max time rather than max iterations #12

Open
korken89 opened this issue Nov 19, 2018 · 8 comments

Comments

@korken89
Copy link

Hi,

During the work where we used PANOC on a quadrotor we sometimes went over the max time which was allowed when PANOC did a lot of internal linesearch steps.
With this in mind and after talking with @alphaville , it would be good to be able to choose a MAX_ITERATIONS or MAX_TIME, where after each PANOC iteration it would check if the time limit has been broken.
As we still want PANOC to continue iterating while inside its time budget.

BR Emil

@MelisWillem
Copy link

Maybe you should join the skype conversation with me and Pantelis this evening?

@korken89
Copy link
Author

Sure, no problem!
What time do you plan to have it?

@MelisWillem
Copy link

20.15 CET

@korken89
Copy link
Author

I will come online around then, I have gym until 8 so might be a few minutes late.

@korken89
Copy link
Author

I am available from now, you can add me: Skype name: "skuggbane"

@MelisWillem
Copy link

a max iterations already exists, after some toughts, a max_time would be hard as different embedded systems have different timers/drivers. However we can create a "callback" function that allows you to decide yourself after every iteration if you want to continue

@korken89
Copy link
Author

That sounds like a good idea! A simple predicate to act alongside the residual limit would be perfect.
The predicate can then be no. of iterations / time / any other thing.

@MelisWillem
Copy link

Only 1 problem I really don't have the time. Work + side hustle is 7 days on 7

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