Skip to content

AttributeError in save_bi_clusters_as_xml #1

@tdrose

Description

@tdrose

In your example you use the following code:

bp.save_bi_clusters_as_xml(filename,bi_clusters, obj_val, is_optimal, instance)

But since save_bi_clusters_as_xml it not in __init__.py, this produces an error.

So you either need to write:

bp.main.save_bi_clusters_as_xml(filename,bi_clusters, obj_val, is_optimal, instance)

or add the function to __init__.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions