Skip to content

Must problem variables be of type "&str"? #62

@heartsh

Description

@heartsh

Hi Developer,

I am writing the software that solves mixture integer programming.
In this software, an objective function maximizes the sum of the scores of possible certain index pairs(, as you show as an example of an assignment problem).
I noticed that your assignment problem example shows the error "Cannot open file" when I replace the type of men and women (&str) with u8. (e.g., men: "A", "B", "C" -> 1, 2, 3, women: "D", "E", "F" -> 4, 5, 6.)
Am I forced to use type "&str"?

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions