/** * @file src/tableau/solution.ts * @description Solution classes for LP and MIP results * * Provides solution containers for optimization results: * - Solution: Base class for continuous LP problems * - MilpSolution: Extended class for mixed-integer problems * * Solutions include feasibility status, objective value, and variable values. */ import type Tableau from "./tableau"; import type { TableauSolutionSet } from "./types"; /** * Represents a solution to a linear programming problem. */ export declare class Solution { feasible: boolean; evaluation: number; bounded: boolean; _tableau: Tableau; solutionSet: TableauSolutionSet; constructor(tableau: Tableau, evaluation: number, feasible: boolean, bounded: boolean); /** * Generate the solution set mapping variable IDs to their values. */ generateSolutionSet(): TableauSolutionSet; } /** * Represents a solution to a mixed-integer programming problem. * Extends Solution with branch-and-cut iteration tracking. */ export declare class MilpSolution extends Solution { iter: number; constructor(tableau: Tableau, evaluation: number, feasible: boolean, bounded: boolean, branchAndCutIterations: number); }