Typically what I will do is create one or more small instances of the problem, and set up a spreadsheet that takes potential solutions and computes their profit or cost and their impact on each constrained resource. In a network flow model, I will compute net flow into/out of each node in the spreadsheet, to verify flow balance. I then run the small instance(s) in CPLEX, put the solutions into the spreadsheet, and compare what the spreadsheet tells me is feasibility, objective value and resource utilization with what CPLEX tells me about those things. If there is a discrepancy, I need to figure out why the discrepancy arises, which hopefully will tell me whether the error is in the spreadsheet or the CPLEX model.
This does not guarantee that my conceptual model for the problem (the "common denominator" of both the spreadsheet and the CPLEX model) is correct, but it helps me catch incorrect expression of the conceptual model.
Paul
#DecisionOptimization#MathematicalProgramming-General