Initializing help system before first use

# VariableBuilder.VariableMapBuilder Class

Build a 1-dimensional map of variables.
Inheritance Hierarchy
SystemObject
OptimizerVariableBuilderVariableMapBuilderK1
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
C#

    public class VariableMapBuilder<K1>

#### Type Parameters

K1

The VariableBuilderVariableMapBuilderK1 type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| VariableBuilderVariableMapBuilderK1(IEnumerableK1, XpressProblem) | Create a builder that will create a 1-dimensional map of variables from the specified data.
| VariableBuilderVariableMapBuilderK1(K1, XpressProblem) | Create a builder that will create a 1-dimensional map of variables from the specified arrays. Obsolete

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| ToMap | Create the variables specified by this builder.
| ToMapI(FuncI, ActionI, K1, Variable) | Create the variables specified by this builder.
| ToString | Returns a string that represents the current object. (Inherited from Object)
| WithFilter | Set a filter that selects elements.
| WithLB(Double) | Set a constant lower bound for all variables.
| WithLB(FuncK1, Double) | Set a lower bound that depends on the index.
| WithLimit(Double) | Set a constant limit for all variables. A limit specifies the bounds for semi-continuous/integer variables and the limit for partial integer variables. It does not apply to variables of other types.
| WithLimit(FuncK1, Double) | Set a limit that depends on the index. A limit specifies the bounds for semi-continuous/integer variables and the limit for partial integer variables. It does not apply to variables of other types.
| WithName(FuncK1, String) | Set a name that depends on the index.
| WithName(String) | Set a constant name for all variables.
| WithType(ColumnType) | Set a constant type for all variables.
| WithType(FuncK1, ColumnType) | Set a type that depends on the index.
| WithUB(Double) | Set a constant upper bound for all variables.
| WithUB(FuncK1, Double) | Set a upper bound that depends on the index.

Top
See Also

#### Reference

Optimizer Namespace
Covered Topics

- VariableBuilder.VariableMapBuilder Constructor
- VariableMapBuilder Methods

Parent Topic Optimizer

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