next up previous contents
Next: Binomial Up: Miscellaneous procedures Previous: Square adjustment   Contents


Box reduction

Let Sol be a solution of a system that has been found in the box B while the algorithm was processing a list of boxes BOX. It is of interest to treat the box and the list of boxes in such way that Sol is no more included in the set of boxes i.e. to have in the list of boxes only the complementary of each box with respect to the box Sol. Note that for a problem with $n$ unknowns this complementary may be described by up to $2n$ boxes.

This may be obtained by using:

int Sol_Reduction(int Dimension,int Dimension_Eq,
                INTERVAL_MATRIX &BOX,
               INTERVAL_VECTOR &B, INTERVAL_VECTOR &Sol,
               int *nb,int type,
               int (* Simp_Proc)(INTERVAL_VECTOR &))
where This algorithm will return -1 if the solution box covers completely the box B. Note that this algorithm may create new boxes but only ALIAS_Allows_N_New_Boxes are allowed to be created (with a default value of 2). A similar procedure exists when gradient boxes have also to be stored:
 
int Sol_Reduction(int Dimension_Var,int Dimension_Eq,
  INTERVAL_MATRIX &BBOX,
  INTERVAL_MATRIX &GBBOX,
  INTERVAL_MATRIX (* Gradient)(int, int,INTERVAL_VECTOR &), 
  INTERVAL_VECTOR &P, INTERVAL_VECTOR &PP1,
  int current_box,int *nb_box,
  int nb_max_box,int type,
  int (* Simp_Proc)(INTERVAL_VECTOR &))
where

Note that in the Solve_General_Gradient_Interval and Solve_General_JH_Interval we use for nb_max_box the value of ALIAS_Allows_N_New_Boxes (with a default value of 2) and for type the value of ALIAS_Type_N_New_Boxes (default value of 0)


next up previous contents
Next: Binomial Up: Miscellaneous procedures Previous: Square adjustment   Contents
Jean-Pierre Merlet 2012-12-20