Changeset 69fe54a4 in tol


Ignore:
Timestamp:
Oct 9, 2009, 9:01:51 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
3076ca9
Parents:
6afbc88f
Message:

Adding numeric error tolerance to Polytope::IsFeasible

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1509 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/stdlib/math/optim/LP/polytope.tol

    r6afbc88f r69fe54a4  
    8181  {
    8282    @Point P_ = @Point::New(P0::region, P0::x + v*t);
    83 //  WriteLn("TRACE @ScalarMin::evalSegmentPoint "
     83////WriteLn("TRACE @ScalarMin::evalSegmentPoint "
    8484//          "lastIterMethod="+lastIterMethod+
    8585//          " t="<<t+
    … …  
    301301  ////////////////////////////////////////////////////////////////////////////
    302302  {
    303     VMatMax(A*x - a)<=0
     303    Real drop = VRows(A)*VRows(x)*1.E-15;
     304    VMatMax(A*x - a)<=drop
    304305  }
    305306
Note: See TracChangeset for help on using the changeset viewer.