get_n_solutions: Get the number of intermediate solutions

View source: R/tsqca_core.R

get_n_solutionsR Documentation

Get the number of intermediate solutions

Description

Get the number of intermediate solutions

Usage

get_n_solutions(sol)

Arguments

sol

A solution object returned by QCA::minimize().

Value

Integer. Number of intermediate solutions, or 0 if none.

Note

When dir.exp is specified, the true Intermediate solution is stored in sol$i.sol, not sol$solution (which contains the Parsimonious solution).


TSQCA documentation built on Feb. 18, 2026, 5:06 p.m.