# SCIP

Solving Constraint Integer Programs

heur_oneopt.h File Reference

## Detailed Description

Improvement heuristic that alters single variable values.

Oneopt is a straightforward improvement heuristic: given a feasible MIP solution, the value of an integer variable xj can be decreased for cj > 0 or increased for cj < 0 if the resulting solution is still feasible. If more than one variable can be shifted, they are sorted by non-decreasing impact on the objective and sequentially shifted until no more improvements can be obtained.

Definition in file heur_oneopt.h.

#include "scip/def.h"
#include "scip/type_retcode.h"
#include "scip/type_scip.h"

Go to the source code of this file.

## Functions

SCIP_RETCODE SCIPincludeHeurOneopt (SCIP *scip)