locked
Infeasibility Report RRS feed

  • Question

  • I am using Microsoft Solver Foundation Standard V2.0 and are able to generate Infeasibility Report.  But the report only shows 

    Infeasible Set from All Decisions but nothing from All Constraints. How do I get which one from All Constraints failed

    Infeasible set:
    Constraint_CoEff_MinMax(1003)#1
    Constraint_CoEff_MinMax(1002)#1
    Constraint_CoEff_MinMax(1013)#1

    1003 is from Microsoft.SolverFoundation.Services.ValueSet.<get_Values>d__0

    (3) Constraint("Constraint_CP": {And(GreaterEqual(Plus(foreach iter`Set1 in Set1 (Times(dec_coeff0[iter`Set1], para_CP0[iter`Set1]))), 21), LessEqual(Plus(foreach iter`Set1 in Set1 (Times(dec_coeff0[iter`Set1], para_CP0[iter`Set1]))), 100))} Microsoft.SolverFoundation.Services.Constraint

    If mbIsFeasibleSolution = True Then
                                        report = oSolution.GetReport(ReportVerbosity.All)
                                    Else
                                        report = oSolution.GetReport(ReportVerbosity.Infeasibility + ReportVerbosity.SolverDetails)
                                    End If
    Thanks 


    Friday, March 27, 2020 1:23 PM