Skip to content

VariablePrimal(N) maybe should be result_index instead of N #1038

@Wikunia

Description

@Wikunia

I think it would be cleaner to have result_index as the field name as it is the case for ObjectiveValue.
Currently it is N see:
https://github.com/JuliaOpt/MathOptInterface.jl/blob/master/src/attributes.jl#L941-L951

Additionally in objective value it is referred to ObjectiveValue(resultidx) why not use either resultidx or result_index for both? I know this will break things but I think it would make it easier to read.

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