***comparison_constraint#

Description#

The **comparison_constraint option can be used to add constraints that force the solution near some critical points of the reference curves. Note that there may be no solution satisfying the constraint. In this case an appropriate value of the convergence parameter constraint_tol should be used to allow some constraint violation (see the ***convergence options of the corresponding optimization method).

Syntax#

The syntax is:

***comparison_constraint \(~\,~\,~\,\) s_file_file xref fname1 t1 y1 fname2 t2 y2 [ lambda0 ]

where

xref

is the value along the x coordinate for which a constraint is added to enforce y1(x)=y2(x),

fname1, fname2

are the names of the two files used in the comparison,

t1, t2

are the column numbers in files fname1 and fname2 that are used to define the x coordinates,

y1, y2

are the column numbers in files fname1 and fname2 that are used to define the y(x) values,

lambda0

is an optional value for the initial lagrange multiplier associated with the constraint.

Example#

***comparison_constraint
  s_file_file 55. fat_al2.test 1 3 fat_al2.exp 1 3 0.0001