• Associates model data with table columns. The returned mapping may be partial (missing parameters and/or variables).

    Parameters

    • tables: readonly Table[]
    • out: {
          constraints: readonly {
              bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
              condition: "eq" | "geq" | "leq";
              derivation?: {
                  kind: "pinnedVariable";
                  label: string;
              } | {
                  kind: "relaxedConstraintCap";
                  label: string;
                  variant: "deficit" | "surplus";
              };
              label: string;
              subjects: readonly ({ readonly kind: "parameter"; readonly label: string; } | { readonly kind: "variable"; readonly label: string; })[];
          }[];
          dimensions: readonly {
              isNumeric: boolean;
              label: string;
          }[];
          objectives: readonly {
              derivation?: {
                  kind: "relaxedConstraint";
                  label: string;
                  variant: "deficit" | "surplus";
              };
              isMaximization: boolean;
              isQuadratic: boolean;
              label: string;
          }[];
          parameters: readonly {
              bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
              derivation?: {
                  kind: "pinnedVariable";
                  label: string;
              } | {
                  kind: "relaxedConstraintCap";
                  label: string;
                  variant: "deficit" | "surplus";
              };
              image: {
                  isIntegral: boolean;
                  lowerBound: number | "Infinity" | "-Infinity" | "Dynamic";
                  upperBound: number | "Infinity" | "-Infinity" | "Dynamic";
              };
              label: string;
          }[];
          variables: readonly {
              bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
              derivation?: {
                  kind: "relaxedConstraint";
                  label: string;
                  variant: "deficit" | "surplus";
              };
              image: {
                  isIntegral: boolean;
                  lowerBound: number | "Infinity" | "-Infinity" | "Dynamic";
                  upperBound: number | "Infinity" | "-Infinity" | "Dynamic";
              };
              label: string;
          }[];
      }
      • Readonly constraints: readonly {
            bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
            condition: "eq" | "geq" | "leq";
            derivation?: {
                kind: "pinnedVariable";
                label: string;
            } | {
                kind: "relaxedConstraintCap";
                label: string;
                variant: "deficit" | "surplus";
            };
            label: string;
            subjects: readonly ({ readonly kind: "parameter"; readonly label: string; } | { readonly kind: "variable"; readonly label: string; })[];
        }[]
      • Readonly dimensions: readonly {
            isNumeric: boolean;
            label: string;
        }[]
      • Readonly objectives: readonly {
            derivation?: {
                kind: "relaxedConstraint";
                label: string;
                variant: "deficit" | "surplus";
            };
            isMaximization: boolean;
            isQuadratic: boolean;
            label: string;
        }[]
      • Readonly parameters: readonly {
            bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
            derivation?: {
                kind: "pinnedVariable";
                label: string;
            } | {
                kind: "relaxedConstraintCap";
                label: string;
                variant: "deficit" | "surplus";
            };
            image: {
                isIntegral: boolean;
                lowerBound: number | "Infinity" | "-Infinity" | "Dynamic";
                upperBound: number | "Infinity" | "-Infinity" | "Dynamic";
            };
            label: string;
        }[]
      • Readonly variables: readonly {
            bindings: readonly { readonly dimensionLabel?: string | undefined; readonly qualifier?: string | undefined; }[];
            derivation?: {
                kind: "relaxedConstraint";
                label: string;
                variant: "deficit" | "surplus";
            };
            image: {
                isIntegral: boolean;
                lowerBound: number | "Infinity" | "-Infinity" | "Dynamic";
                upperBound: number | "Infinity" | "-Infinity" | "Dynamic";
            };
            label: string;
        }[]

    Returns InputMapping

Generated using TypeDoc