void EndEdit()
        {
#if true
            solver.Resolve();
#else
            solver.EndEdit();

            foreach (var stay in isStay.Keys.ToArray())
            {
                if (isStay[stay] == 1)
                {
                    isStay[stay] = 0;
                }
            }
#endif
        }