JuliaDiff / JuliaDiff/SparseMatrixColorings.jl

Add a check for the symbols used in ColoringProblem and ConstantColoringAlgorithm

Open
#301 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
45
Forks
11
Avg merge
1h 35m
Merged PRs (30d)
3

Description

I didn't know that the order of the symbols were different for ColoringProblem and ConstantColoringAlgorithm.
I was able to create problem and algo but it took me a few minutes why the dispatch was not working for compress.

problem = ColoringProblem{:nonsymmetric,:column}()
algo = ConstantColoringAlgorithm{:column,:nonsymmetric}(B, color)
result = coloring(B, problem, algo)
C = compress(B, result)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the definitions and dispatch paths for ColoringProblem, ConstantColoringAlgorithm, and compress, then reproduce the issue's Julia example. Done means mismatched symbol orders are detected with a clear check or error before dispatch fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
developer-experience
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.