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

BIP solver for homogenization does not scale well #3

Open
fredericpoitevin opened this issue Aug 6, 2019 · 0 comments
Open

BIP solver for homogenization does not scale well #3

fredericpoitevin opened this issue Aug 6, 2019 · 0 comments

Comments

@fredericpoitevin
Copy link
Collaborator

The function bip_ilp uses the GNU Linear Programming Kit library implemented in cvxopt to solve the constrained optimization problem of minimizing the amount of elements discarded from a binary matrix A.

In our case, A is typically of size number of atoms m times number of structures n, resulting in a set of m*n constraints (one for each element, roughly) making the problem scale as (m*n)**2, despite very sparse matrices.

The limit of this is hit very fast, several options need to be investigated:

  • implement the binary integer program from scratch, taking advantage of the sparsity of the constraints
  • use a completely different approach, such as hierarchical clustering of A.
  • applying the BIP to hierarchical subsets, for example the chains first, then for each chain the residues, and finally the atoms within residues
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

1 participant