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

Order polytope related fixes and improvements #176

Merged
merged 5 commits into from
Sep 21, 2021

Conversation

vaithak
Copy link
Collaborator

@vaithak vaithak commented Sep 16, 2021

The changes in the PR have been pulled apart from #171 for easy reviewal and better readability.

@vaithak vaithak changed the title Order polytope related changes Order polytope fixed and improvements Sep 16, 2021
@vaithak vaithak changed the title Order polytope fixed and improvements Order polytope related fixes and improvements Sep 16, 2021
std::pair<Point, NT> _innerball;

#ifndef VOLESTIPY // as _A is never normalized in closed form
_innerball = ComputeChebychevBall<NT, Point>(A, b); // use lpsolve library
#ifndef VOLESTIPY
Copy link
Member

Choose a reason for hiding this comment

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

VOLESTIPY is always undefined. Plz use only ComputeChebychevBall<NT, Point>(A, b)

Copy link
Member

Choose a reason for hiding this comment

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

@TolisChal is VOLESTIPY needed in the library now?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

now the function returns just ComputeChebychevBall<NT, Point>(A, b)

Copy link
Member

@vissarion vissarion left a comment

Choose a reason for hiding this comment

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

Thanks! I have a few comments, otherwise OK for merging.

include/convex_bodies/orderpolytope.h Outdated Show resolved Hide resolved
include/convex_bodies/orderpolytope.h Outdated Show resolved Hide resolved
include/generators/order_polytope_generator.h Outdated Show resolved Hide resolved
@vissarion vissarion merged commit 8ad3505 into GeomScale:develop Sep 21, 2021
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.

3 participants