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

Counting the number of cuts #787

Closed
AngeBlanchard opened this issue Oct 2, 2024 · 4 comments
Closed

Counting the number of cuts #787

AngeBlanchard opened this issue Oct 2, 2024 · 4 comments

Comments

@AngeBlanchard
Copy link

Hi,
I was wondering if it was possible to know the number of cuts added to a specific policy.
I guess the number of cuts is approximately equal to the number of iterations in the training phase, but I think it's not exactly equal since some cuts can be deleted (as far as I understood)
So, how can one know the exact number of cuts in a given policy?
Thanks a lot
Ange

@odow
Copy link
Owner

odow commented Oct 2, 2024

I guess the number of cuts is approximately equal to the number of iterations in the training phase

This depends on the graph structure. If you have a linear policy graph, then yes. Otherwise, no.

So, how can one know the exact number of cuts in a given policy?

Why do you want to know this?

Note that we have a number of different "types" of cuts: single-cut, multi-cut, risk-set cuts, etc.

@AngeBlanchard
Copy link
Author

Thanks for your answer. I’m asking because a reviewer wants details about my model, and they ask for the number of cuts. I thought there was a built in function to find that information but I guess there is not ?

my model is a linear tree graph, with only single cuts I think.

@odow
Copy link
Owner

odow commented Oct 4, 2024

Just tell them the number of iterations.

@AngeBlanchard
Copy link
Author

Ok great, thanks for your help.

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