Initializing help system before first use

# branchobj.validate

Purpose
Verifies that a given branching object is valid for branching on the current branch-and-bound node of a MIP solve. The function will check that all branches are non-empty, and if required, verify that the branching object can be presolved.
Topic area
Branching Object
Synopsis
`status = branchobj.validate()`
Return value

status: int | The returned status from checking the provided branching object:
0 | The object is acceptable.
1 | Failed to presolve the object due to dual reductions in presolve.
2 | Failed to presolve the object due to duplicate column reductions in presolve.
3 | The object contains an empty branch.
4 | Failed to presolve the object due to presolve operations requiring relaxation of a row.
5 | Failed to presolve the object due to it becoming nonlinear due to nonlinear eliminations.

Related topics
xpress.branchobj.
Parent Topic Xpress branchobj object methods

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.