Version: dev

markowitz_ordering

Stable function · Sparsity and structure

Tier: stable · Kind: function · Topic: Sparsity and structure

JuliaPythonRust
not exportedmarkowitz_orderingmarkowitz_ordering

Julia

Julia does not export this function.

Python

markowitz_ordering(pattern: list[list[bool]]) -> list[int]

Greedy Markowitz ordering (1-based), first minimal cost wins.

Source

Rust

pub fn markowitz_ordering(pattern: &[Vec<bool>]) -> Vec<usize>

A Markowitz pivot ordering of a block pattern (1-based), minimizing fill-in greedily.

Source · Rust docs