Initializing help system before first use

# problem.loadBranchDirs

Purpose
Loads directives into the current problem to specify which MIP entities the Optimizer should continue to branch on when a node solution is integer feasible.
Topic areas
Data Input, Branching, Optimizer
Synopsis
`problem.loadBranchDirs(colind, dir=None)`
Arguments

colind | Integer array containing the column numbers. A negative value indicates a set number (the first set being -1, the second -2, and so on).
dir | Integer array containing either 0 or 1 for the entities given in colind. Entities for which dir is set to 1 will be branched on until fixed before an integer feasible solution is returned. If dir is None, the branching directive will be set for all entities in colind.

Further information
1. This function cannot be called while the current problem is being solved or when it is in an interrupted state. Use problem.postSolve to restore the problem to a non-solving state.
2. Argument colind may contain xpress.var objects instead of indices.
Related topics
problem.loadDirs, problem.readDirs, the Optimizer Reference Manual.
Parent Topic Methods of the class problem

© 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.