ProblemPtrp(newProblem(_frame_structure,_dim,_map));// We use `new` and not `make_shared` since the Problem constructor is private and cannot be passed to `make_shared`.
ProblemPtrp(newProblem(_frame_structure,_dim,_map,_local_reference_p,_local_reference_o));// We use `new` and not `make_shared` since the Problem constructor is private and cannot be passed to `make_shared`.