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

Quadratic geometric problems. #1

Open
JaromilNajman opened this issue Oct 26, 2022 · 0 comments
Open

Quadratic geometric problems. #1

JaromilNajman opened this issue Oct 26, 2022 · 0 comments

Comments

@JaromilNajman
Copy link
Contributor

JaromilNajman commented Oct 26, 2022

Why this Mod?
There are two quite standard geometric problems which can be solved through quadratic optimization.
The first one is a Minimum Polytope Distance problem, where a user provides 2 sets of n-dimensional points and is interested in the minimal distance between the 2 polytopes defined by the 2 sets.
The second one is a Smallest Enclosing Ball problem, where a user provides a set of n-dimensional points and is interested in the smallest ball enclosing all of the provided points.

Does it fall under an existing category?

  • Other: Geometry

What will the API be?

distance, point1, point2 = gurobi_optimods.minpoldist(points1, points2)

where points1,points2 could be a pandas dataframe or alternatively a list.

center,radius = gurobi_optimods.minencball(points)

where points could be a pandas dataframe or alternatively a list.

Additional context
We could add a function which plots the results nicely for 2D problems.
I am not sure how much those problems are used in real world applications. I can image that this could be used in clustering algorithms and statistics but I am not an expert in those fields.

@simonbowly simonbowly transferred this issue from another repository Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants