get_break_numeric_accuracy

# get_break_numeric_accuracy Returns the accuracy values when solve should fail. REAL get_break_numeric_accuracy(lprec *lp); Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI Remarks The get_break_numeric_accuracy function returns the minimal accuracy for a successful solve. An accuracy that is worse than this value will result in a failing solve return code ACCURACYERROR. The default value is 5e-7. Example
    #include <stdio.h>
    #include <stdlib.h>
    #include "lp_lib.h"

    int main(void)
    {
      lprec *lp;
      REAL accuracy;

      /* Create a new LP model */
      lp = make_lp(0, 0);
      if(lp == NULL) {
        fprintf(stderr, "Unable to create new LP model\n");
        return(1);
      }

      accuracy = get_break_numeric_accuracy(lp);

      delete_lp(lp);
      return(0);
    }
lp_solve API reference See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_accuracy, set_break_numeric_accuracy