ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1668. Звезда смерти 2

How to minimize sum of squares of weights???
Послано Vedernikoff Sergey (HSE: EconomicsForever!) 20 дек 2008 21:16
Subj. It's standard problem to get the best vector - even formula exists, but for linearly independent vectors. But how then minimize second tieresolver in case of linearly dependent system?
My iterative approach needs to find subsystems of linearly dependent vectors. Is there easier approach, may be formula?
Re: How to minimize sum of squares of weights???
Послано Samsonov Alex [USU] 21 дек 2008 22:09
There is a formula, but it is really a mess and it is quite non-trivial to obtain. There are different apporaches possible, one of them is to notice that to minimize the sum of squares you should do almost the same thing as when you minimize the difference vector.