Initializing help system before first use

# LoadBranchDirs(Int32, Int32[], Int32[]) Method

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.
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 46.01.02+e8d9493ad804415424ae931ce2abaeb6c55a6d5a
Syntax
C#

    public void LoadBranchDirs(
    	int ncols,
    	int[] colind,
    	int[] dir
    )

#### Parameters

ncols Int32
  Number of directives.
colind Int32
  Integer array of length ncols containing the column numbers. A negative value indicates a set number (the first set being -1, the second -2, and so on).
dir Int32
  Integer array of length ncols 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 null, the branching directive will be set for all entities in colind.

See Also

#### Reference

XPRSprob Class
LoadBranchDirs Overload
Optimizer Namespace
Parent Topic LoadBranchDirs Method

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