Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Implement name reader #53

@vitaut

Description

@vitaut

Some solvers or solver-like programs such as smpswriter require access to variable and constraint names. The name reader should be separate from NLReader for users to be able to provide names and NL input from different sources. Possible API:

class NameHandler {
 public:
  void OnVarName(fmt::StringRef name);
  void OnConName(fmt::StringRef name);
};

template <typename NameHandler>
void ReadNameFiles(fmt::StringRef row_filename, fmt::StringRef col_filename,
                   NameHandler &handler);

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