set_improve

Specifies the iterative improvement level.

void set_improve(lprec *lp, short improve);

Return Value

set_improve has no return value.

Parameters

lp

Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS

improve

Specifies the iterative improvement level. Can by any of the following values:

IMPROVE_NONE (0) improve none
IMPROVE_FTRAN (1) improve FTRAN
IMPROVE_BTRAN (2) improve BTRAN
IMPROVE_FULL (3) improve FTRAN + BTRAN

Remarks

The set_improve function specifies the iterative improvement level.
The default is IMPROVE_NONE.

Example

#include <stdio.h>
#include <stdlib.h>
#include "lpkit.h"

int main(void)
{
  lprec *lp;

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

  set_improve(lp, IMPROVE_FULL);

  delete_lp(lp);
  return(0);
}

lp_solve API reference

See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, get_improve