def METHOD_NAME(megacomplex_name: str, full_plugin_name: str) -> None:
    """Set the plugin used for a specific megacomplex name.
    This function is useful when you want to resolve conflicts of installed plugins
    or overwrite the plugin used for a specific megacomplex name.
    Effected functions:
    - :func:`optimize`
    Parameters
    ----------
    megacomplex_name : str
        Name of the megacomplex to use the plugin for.
    full_plugin_name : str
        Full name (import path) of the registered plugin.
    """
    set_plugin(
        plugin_register_key=megacomplex_name,
        full_plugin_name=full_plugin_name,
        plugin_registry=__PluginRegistry.megacomplex,
        plugin_register_key_name="megacomplex_name",
    )