coin-or / coin-or/CoinUtils

Give meaningful error messages when parsing LPs

Open
#133 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
53
Forks
47
PR merge metrics
No merged PRs in 30d

Description

Currently, parsing errors for LP files result in CoinError exceptions being thrown, without any further information; it does not even give a stack frame or even just a report of the currently executing method. This makes finding out why a specific LP file cannot be parsed take hours instead of seconds (at least if no debugger is attached).

I would suggest to:

- add more meaningful error messages than `CoinError`
- add line and column numbers to indicate where the problem occurred.

(Opening this issue as requested in coin-or/Clp#146.)

Contributor guide

No contributing guide indexed for this repository

Research direction

The payload names no source files, tests, or parser entry points. Start by locating the LP-file parsing code and existing CoinError paths; done means parse failures provide meaningful context and report the line and column where the problem occurred.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.