LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
SubProblemResult.m
1classdef SubProblemResult < handle
2 % SubProblemResult Result from solving one decomposition subproblem.
3 % Mirrors native-Python line_solver.opt.results.SubProblemResult.
4
5 properties
6 name = '';
7 result % opt.OptimizationResult
8 variablesFixed % Map name -> value
9 end
10
11 methods
12 function obj = SubProblemResult(name, result)
13 obj.variablesFixed = containers.Map('KeyType', 'char', 'ValueType', 'any');
14 if nargin >= 1, obj.name = name; end
15 if nargin >= 2, obj.result = result; else, obj.result = opt.OptimizationResult(); end
16 end
17 end
18end