Skip to main content

Optimisation Variable Ontology

Computational Mathematics Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
OPTIMISATION VARIABLE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Computational Mathematics Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 11 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-mathematics-entities/optimisation-variable-ontology.html
Status: Constructed topic-level mapping; not a verified transcription of the source page.

1. PURPOSE
Represent an optimisation variable as a typed, constrained decision quantity in an optimisation model. Connect variable domains, objective contributions, feasibility, solver updates and provenance in a recursive Flow Algebra interpretation.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: current variable assignments, bounds, objective and constraint data.
R_t: dependency and transformation relations between variables, constraints and objectives.
B_t: domain, feasibility, precision, iteration and resource boundaries.
K_t: solver knowledge, incumbent solutions, gradients and historical evaluations.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
Interpretation: P is a model-specific candidate preference or ranking, not necessarily a probability distribution. For deterministic minimisation, use objective ordering instead of probabilistic scoring.

3. ENTITY MODEL
OptimisationVariable := (id, symbol, domain, lower_bound, upper_bound, units, value, role, provenance)
Domain := continuous | integer | binary | categorical | structured.
VariableRole := decision | auxiliary | slack | state | parameterised decision.
Objective := (sense, function, weights, units).
Constraint := (predicate, variables, tolerance, priority).
CandidateAssignment := map(variable_id -> typed value).
SolverState := (iteration, candidate, feasible, objective_value, status, diagnostics).

4. RELATIONSHIP GRAPH
OptimisationVariable --belongs_to--> OptimisationModel
OptimisationVariable --has_domain--> Domain
OptimisationVariable --bounded_by--> Bound
OptimisationVariable --participates_in--> Objective
OptimisationVariable --constrained_by--> Constraint
OptimisationVariable --assigned_in--> CandidateAssignment
CandidateAssignment --evaluated_by--> Solver
Solver --produces--> SolverState
SolverState --updates--> KnowledgeState

5. CORE FLOWS
FLOW A — DECLARE
Input: variable definition and model schema.
Validate identifier uniqueness, domain type, units, and bounds; require lower_bound <= upper_bound when both exist.
Output: well-formed variable entity or structured validation error.

FLOW B — GENERATE CANDIDATES
Input: current assignments, solver strategy, domain and resource limits.
Expand permitted changes, respecting integer/binary restrictions and finite bounds.
Output: candidate assignments, with reproducible ordering where required.

FLOW C — FEASIBILITY FILTER
Input: candidate assignments and constraints.
Check domain membership, bounds, hard constraints and numerical tolerances.
Output: feasible candidate set and rejection reasons.

FLOW D — OBJECTIVE EVALUATION
Input: feasible assignments and objective.
Evaluate the objective using a consistent sense (minimise/maximise) and units.
Output: objective values and ranking; never confuse objective ranking with feasibility.

FLOW E — UPDATE
Input: selected candidate, solver observations, incumbent.
Update assignment, incumbent, diagnostic metrics and termination status.
Output: next solver state, including traceable provenance.

FLOW F — TERMINATE
Stop on certified optimum, satisfactory tolerance, infeasibility proof, iteration/time budget, or solver failure. A budget stop is not an optimality proof.

6. INFERENCE RULES
IF domain=binary THEN value in {0,1}.
IF domain=integer THEN value must be integral within solver tolerance.
IF lower_bound > upper_bound THEN declaration is invalid.
IF any hard constraint fails THEN candidate is infeasible.
IF candidate is feasible AND objective improves incumbent THEN update incumbent.
IF variable is absent from all objective and constraint dependencies THEN flag possible redundant variable; do not assume removable without checking model semantics.
IF objective sense=minimise THEN lower objective is preferred; reverse for maximise.
IF no feasible assignment is found THEN report 'not found' unless infeasibility has been proved.

7. BOUNDED RECURSION ENGINE
function optimise(model, state, max_steps):
    validate(model)
    for step in range(max_steps):
        candidates = expand(state.assignment, model.relations)
        feasible = filter_by_domain_bounds_constraints(candidates, model)
        evaluated = evaluate_objective(feasible, model.objective)
        if evaluated is empty:
            return state.with_status('no_candidate_found')
        selected = choose_best(evaluated, model.objective.sense)
        state = update(state, selected, diagnostics=step)
        if termination_condition(state, model):
            return state
    return state.with_status('budget_exhausted')

8. WORKED EXAMPLE
Minimise f(x,y) = 2x + 3y, subject to x+y >= 4, x >= 0, y >= 0; x,y continuous.
Candidate A: (x=4,y=0), feasible, f=8.
Candidate B: (x=0,y=4), feasible, f=12.
Candidate C: (x=2,y=2), feasible, f=10.
Among these candidates, A ranks best. For this simple linear programme A is also globally optimal, since 2x+3y >= 2(x+y) >= 8.

9. SEMANTIC EQUIVALENCE
'Decision variable' and 'optimisation variable' may align when they denote quantities selected by the solver. 'Parameter' is not equivalent when its value is fixed externally. A slack variable is an auxiliary variable introduced to reformulate a constraint. Preserve domain, units and bounds during mapping.

10. BOUNDARIES AND GUARANTEES
A valid assignment satisfies its declared domain and checked hard constraints within stated numerical tolerances. Bounded recursion guarantees termination of this modelled loop, not discovery of a feasible or globally optimal solution. Non-convexity, mixed-integer complexity, numerical conditioning and incomplete information can prevent strong guarantees. Record solver method and proof status separately.

11. PROVENANCE AND CITATION
Ontology topic: Optimisation Variable Ontology.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-mathematics-entities/optimisation-variable-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Citation: Higgins, Mark Anthony; Sky Recursive AI (2026). 'Optimisation Variable Ontology — Flow Algebra v1.0', Kireth Research Semantic Library. Cite the source URL when reusing this mapping.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ